From 2ac93dadbd14eb431b52726f7c74e78219befa80 Mon Sep 17 00:00:00 2001 From: Alessandro Ros Date: Tue, 25 Apr 2023 18:22:04 +0200 Subject: [PATCH] remove support for go 1.17 and older (#258) --- pkg/formats/rtph264/decoder_test.go | 3 --- pkg/formats/rtph265/decoder_test.go | 3 --- pkg/formats/rtplpcm/decoder_test.go | 3 --- pkg/formats/rtpmjpeg/decoder_test.go | 3 --- pkg/formats/rtpmpeg4audio/decoder_test.go | 3 --- pkg/formats/rtpsimpleaudio/decoder_test.go | 3 --- pkg/formats/rtpvp8/decoder_test.go | 3 --- pkg/formats/rtpvp9/decoder_test.go | 3 --- pkg/sdp/sdp_test.go | 3 --- 9 files changed, 27 deletions(-) diff --git a/pkg/formats/rtph264/decoder_test.go b/pkg/formats/rtph264/decoder_test.go index d5f3b58b..450618d0 100644 --- a/pkg/formats/rtph264/decoder_test.go +++ b/pkg/formats/rtph264/decoder_test.go @@ -1,6 +1,3 @@ -//go:build go1.18 -// +build go1.18 - package rtph264 import ( diff --git a/pkg/formats/rtph265/decoder_test.go b/pkg/formats/rtph265/decoder_test.go index 9921ab73..478c9d55 100644 --- a/pkg/formats/rtph265/decoder_test.go +++ b/pkg/formats/rtph265/decoder_test.go @@ -1,6 +1,3 @@ -//go:build go1.18 -// +build go1.18 - package rtph265 import ( diff --git a/pkg/formats/rtplpcm/decoder_test.go b/pkg/formats/rtplpcm/decoder_test.go index cdb8764c..b932c555 100644 --- a/pkg/formats/rtplpcm/decoder_test.go +++ b/pkg/formats/rtplpcm/decoder_test.go @@ -1,6 +1,3 @@ -//go:build go1.18 -// +build go1.18 - package rtplpcm import ( diff --git a/pkg/formats/rtpmjpeg/decoder_test.go b/pkg/formats/rtpmjpeg/decoder_test.go index 1f4858b1..4f67372a 100644 --- a/pkg/formats/rtpmjpeg/decoder_test.go +++ b/pkg/formats/rtpmjpeg/decoder_test.go @@ -1,6 +1,3 @@ -//go:build go1.18 -// +build go1.18 - package rtpmjpeg import ( diff --git a/pkg/formats/rtpmpeg4audio/decoder_test.go b/pkg/formats/rtpmpeg4audio/decoder_test.go index 54a91271..5149605e 100644 --- a/pkg/formats/rtpmpeg4audio/decoder_test.go +++ b/pkg/formats/rtpmpeg4audio/decoder_test.go @@ -1,6 +1,3 @@ -//go:build go1.18 -// +build go1.18 - package rtpmpeg4audio import ( diff --git a/pkg/formats/rtpsimpleaudio/decoder_test.go b/pkg/formats/rtpsimpleaudio/decoder_test.go index 5cc80af1..1059e2df 100644 --- a/pkg/formats/rtpsimpleaudio/decoder_test.go +++ b/pkg/formats/rtpsimpleaudio/decoder_test.go @@ -1,6 +1,3 @@ -//go:build go1.18 -// +build go1.18 - package rtpsimpleaudio import ( diff --git a/pkg/formats/rtpvp8/decoder_test.go b/pkg/formats/rtpvp8/decoder_test.go index 6f2f5c91..7de7d368 100644 --- a/pkg/formats/rtpvp8/decoder_test.go +++ b/pkg/formats/rtpvp8/decoder_test.go @@ -1,6 +1,3 @@ -//go:build go1.18 -// +build go1.18 - package rtpvp8 import ( diff --git a/pkg/formats/rtpvp9/decoder_test.go b/pkg/formats/rtpvp9/decoder_test.go index 387fd553..10ee5c91 100644 --- a/pkg/formats/rtpvp9/decoder_test.go +++ b/pkg/formats/rtpvp9/decoder_test.go @@ -1,6 +1,3 @@ -//go:build go1.18 -// +build go1.18 - package rtpvp9 import ( diff --git a/pkg/sdp/sdp_test.go b/pkg/sdp/sdp_test.go index 37de9af6..6c629b79 100644 --- a/pkg/sdp/sdp_test.go +++ b/pkg/sdp/sdp_test.go @@ -1,6 +1,3 @@ -//go:build go1.18 -// +build go1.18 - package sdp import (