1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2025-01-20 03:30:02 +02:00

Remove unnecessary build restrictions for go1.18 (#3197)

Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>

Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
This commit is contained in:
Bogdan Drutu 2022-09-21 10:00:00 -07:00 committed by GitHub
parent 038248b8a2
commit f535b1e65f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
70 changed files with 3 additions and 210 deletions

View File

@ -12,9 +12,6 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
//go:build go1.18
// +build go1.18
package internal // import "go.opentelemetry.io/otel/bridge/opencensus/internal/ocmetric" package internal // import "go.opentelemetry.io/otel/bridge/opencensus/internal/ocmetric"
import ( import (

View File

@ -12,9 +12,6 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
//go:build go1.18
// +build go1.18
package internal // import "go.opentelemetry.io/otel/bridge/opencensus/opencensusmetric/internal" package internal // import "go.opentelemetry.io/otel/bridge/opencensus/opencensusmetric/internal"
import ( import (

View File

@ -12,9 +12,6 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
//go:build go1.18
// +build go1.18
package main package main
import ( import (

View File

@ -12,9 +12,6 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
//go:build go1.18
// +build go1.18
package otlpmetric // import "go.opentelemetry.io/otel/exporters/otlp/otlpmetric" package otlpmetric // import "go.opentelemetry.io/otel/exporters/otlp/otlpmetric"
import ( import (

View File

@ -12,9 +12,6 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
//go:build go1.18
// +build go1.18
package otlpmetric // import "go.opentelemetry.io/otel/exporters/otlp/otlpmetric" package otlpmetric // import "go.opentelemetry.io/otel/exporters/otlp/otlpmetric"
import ( import (

View File

@ -12,9 +12,6 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
//go:build go1.18
// +build go1.18
package otlpmetric // import "go.opentelemetry.io/otel/exporters/otlp/otlpmetric" package otlpmetric // import "go.opentelemetry.io/otel/exporters/otlp/otlpmetric"
import ( import (

View File

@ -12,9 +12,6 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
//go:build go1.18
// +build go1.18
package otest // import "go.opentelemetry.io/otel/exporters/otlp/otlpmetric/internal/otest" package otest // import "go.opentelemetry.io/otel/exporters/otlp/otlpmetric/internal/otest"
import ( import (

View File

@ -12,9 +12,6 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
//go:build go1.18
// +build go1.18
package otest // import "go.opentelemetry.io/otel/exporters/otlp/otlpmetric/internal/otest" package otest // import "go.opentelemetry.io/otel/exporters/otlp/otlpmetric/internal/otest"
import ( import (

View File

@ -12,9 +12,6 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
//go:build go1.18
// +build go1.18
package otest // import "go.opentelemetry.io/otel/exporters/otlp/otlpmetric/internal/otest" package otest // import "go.opentelemetry.io/otel/exporters/otlp/otlpmetric/internal/otest"
import ( import (

View File

@ -12,9 +12,6 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
//go:build go1.18
// +build go1.18
package transform // import "go.opentelemetry.io/otel/exporters/otlp/otlpmetric/internal/transform" package transform // import "go.opentelemetry.io/otel/exporters/otlp/otlpmetric/internal/transform"
import ( import (

View File

@ -12,9 +12,6 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
//go:build go1.18
// +build go1.18
package transform // import "go.opentelemetry.io/otel/exporters/otlp/otlpmetric/internal/transform" package transform // import "go.opentelemetry.io/otel/exporters/otlp/otlpmetric/internal/transform"
import ( import (

View File

@ -12,9 +12,6 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
//go:build go1.18
// +build go1.18
package transform // import "go.opentelemetry.io/otel/exporters/otlp/otlpmetric/internal/transform" package transform // import "go.opentelemetry.io/otel/exporters/otlp/otlpmetric/internal/transform"
import ( import (

View File

@ -12,9 +12,6 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
//go:build go1.18
// +build go1.18
package transform // import "go.opentelemetry.io/otel/exporters/otlp/otlpmetric/internal/transform" package transform // import "go.opentelemetry.io/otel/exporters/otlp/otlpmetric/internal/transform"
import ( import (

View File

@ -12,9 +12,6 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
//go:build go1.18
// +build go1.18
package transform // import "go.opentelemetry.io/otel/exporters/otlp/otlpmetric/internal/transform" package transform // import "go.opentelemetry.io/otel/exporters/otlp/otlpmetric/internal/transform"
import ( import (

View File

@ -12,9 +12,6 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
//go:build go1.18
// +build go1.18
package transform // import "go.opentelemetry.io/otel/exporters/otlp/otlpmetric/internal/transform" package transform // import "go.opentelemetry.io/otel/exporters/otlp/otlpmetric/internal/transform"
import ( import (

View File

@ -12,9 +12,6 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
//go:build go1.18
// +build go1.18
package otlpmetricgrpc // import "go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc" package otlpmetricgrpc // import "go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc"
import ( import (

View File

@ -12,9 +12,6 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
//go:build go1.18
// +build go1.18
package otlpmetricgrpc package otlpmetricgrpc
import ( import (

View File

@ -12,9 +12,6 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
//go:build go1.18
// +build go1.18
package otlpmetricgrpc // import "go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc" package otlpmetricgrpc // import "go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc"
import ( import (

View File

@ -12,9 +12,6 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
//go:build go1.18
// +build go1.18
package otlpmetricgrpc_test package otlpmetricgrpc_test
import ( import (

View File

@ -12,9 +12,6 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
//go:build go1.18
// +build go1.18
package otlpmetrichttp // import "go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp" package otlpmetrichttp // import "go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp"
import ( import (

View File

@ -12,9 +12,6 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
//go:build go1.18
// +build go1.18
package otlpmetrichttp package otlpmetrichttp
import ( import (

View File

@ -12,9 +12,6 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
//go:build go1.18
// +build go1.18
package otlpmetrichttp // import "go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp" package otlpmetrichttp // import "go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp"
import ( import (

View File

@ -12,9 +12,6 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
//go:build go1.18
// +build go1.18
package otlpmetrichttp_test package otlpmetrichttp_test
import ( import (

View File

@ -12,9 +12,6 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
//go:build go1.18
// +build go1.18
package prometheus // import "go.opentelemetry.io/otel/exporters/prometheus" package prometheus // import "go.opentelemetry.io/otel/exporters/prometheus"
import ( import (

View File

@ -12,9 +12,6 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
//go:build go1.18
// +build go1.18
package prometheus package prometheus
import ( import (

View File

@ -11,9 +11,6 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
//go:build go1.18
// +build go1.18
package stdoutmetric // import "go.opentelemetry.io/otel/exporters/stdout/stdoutmetric" package stdoutmetric // import "go.opentelemetry.io/otel/exporters/stdout/stdoutmetric"
import ( import (

View File

@ -12,9 +12,6 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
//go:build go1.18
// +build go1.18
package stdoutmetric // import "go.opentelemetry.io/otel/exporters/stdout/stdoutmetric" package stdoutmetric // import "go.opentelemetry.io/otel/exporters/stdout/stdoutmetric"
import "errors" import "errors"

View File

@ -12,9 +12,6 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
//go:build go1.18
// +build go1.18
package stdoutmetric_test package stdoutmetric_test
import ( import (

View File

@ -12,9 +12,6 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
//go:build go1.18
// +build go1.18
package stdoutmetric // import "go.opentelemetry.io/otel/exporters/stdout/stdoutmetric" package stdoutmetric // import "go.opentelemetry.io/otel/exporters/stdout/stdoutmetric"
import ( import (

View File

@ -12,9 +12,6 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
//go:build go1.18
// +build go1.18
package stdoutmetric_test // import "go.opentelemetry.io/otel/exporters/stdout/stdoutmetric" package stdoutmetric_test // import "go.opentelemetry.io/otel/exporters/stdout/stdoutmetric"
import ( import (

View File

@ -12,9 +12,6 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
//go:build go1.18
// +build go1.18
package metric // import "go.opentelemetry.io/otel/sdk/metric" package metric // import "go.opentelemetry.io/otel/sdk/metric"
import ( import (

View File

@ -12,9 +12,6 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
//go:build go1.18
// +build go1.18
package metric package metric
import ( import (

View File

@ -12,9 +12,6 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
//go:build go1.18
// +build go1.18
package metric_test package metric_test
import ( import (

View File

@ -12,9 +12,6 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
//go:build go1.18
// +build go1.18
package metric // import "go.opentelemetry.io/otel/sdk/metric" package metric // import "go.opentelemetry.io/otel/sdk/metric"
import ( import (

View File

@ -12,9 +12,6 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
//go:build go1.18
// +build go1.18
package metric // import "go.opentelemetry.io/otel/sdk/metric" package metric // import "go.opentelemetry.io/otel/sdk/metric"
import ( import (

View File

@ -12,9 +12,6 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
//go:build go1.18
// +build go1.18
package metric // import "go.opentelemetry.io/otel/sdk/metric" package metric // import "go.opentelemetry.io/otel/sdk/metric"
import ( import (

View File

@ -12,9 +12,6 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
//go:build go1.18
// +build go1.18
package internal // import "go.opentelemetry.io/otel/sdk/metric/internal" package internal // import "go.opentelemetry.io/otel/sdk/metric/internal"
import ( import (

View File

@ -12,9 +12,6 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
//go:build go1.18
// +build go1.18
package internal package internal
import ( import (

View File

@ -12,9 +12,6 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
//go:build go1.18
// +build go1.18
package internal // import "go.opentelemetry.io/otel/sdk/metric/internal" package internal // import "go.opentelemetry.io/otel/sdk/metric/internal"
import ( import (

View File

@ -12,9 +12,6 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
//go:build go1.18
// +build go1.18
package internal // import "go.opentelemetry.io/otel/sdk/metric/internal" package internal // import "go.opentelemetry.io/otel/sdk/metric/internal"
import ( import (

View File

@ -12,9 +12,6 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
//go:build go1.18
// +build go1.18
package internal // import "go.opentelemetry.io/otel/sdk/metric/internal" package internal // import "go.opentelemetry.io/otel/sdk/metric/internal"
import ( import (

View File

@ -12,9 +12,6 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
//go:build go1.18
// +build go1.18
package internal // import "go.opentelemetry.io/otel/sdk/metric/internal" package internal // import "go.opentelemetry.io/otel/sdk/metric/internal"
import ( import (

View File

@ -12,9 +12,6 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
//go:build go1.18
// +build go1.18
package internal // import "go.opentelemetry.io/otel/sdk/metric/internal" package internal // import "go.opentelemetry.io/otel/sdk/metric/internal"
import ( import (

View File

@ -12,9 +12,6 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
//go:build go1.18
// +build go1.18
package internal // import "go.opentelemetry.io/otel/sdk/metric/internal" package internal // import "go.opentelemetry.io/otel/sdk/metric/internal"
import ( import (

View File

@ -12,9 +12,6 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
//go:build go1.18
// +build go1.18
package internal // import "go.opentelemetry.io/otel/sdk/metric/internal" package internal // import "go.opentelemetry.io/otel/sdk/metric/internal"
import ( import (

View File

@ -12,9 +12,6 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
//go:build go1.18
// +build go1.18
package internal // import "go.opentelemetry.io/otel/sdk/metric/internal" package internal // import "go.opentelemetry.io/otel/sdk/metric/internal"
import ( import (

View File

@ -12,9 +12,6 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
//go:build go1.18
// +build go1.18
package internal // import "go.opentelemetry.io/otel/sdk/metric/internal" package internal // import "go.opentelemetry.io/otel/sdk/metric/internal"
import ( import (

View File

@ -12,9 +12,6 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
//go:build go1.18
// +build go1.18
package metric // import "go.opentelemetry.io/otel/sdk/metric" package metric // import "go.opentelemetry.io/otel/sdk/metric"
import ( import (

View File

@ -12,9 +12,6 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
//go:build go1.18
// +build go1.18
package metric // import "go.opentelemetry.io/otel/sdk/metric/reader" package metric // import "go.opentelemetry.io/otel/sdk/metric/reader"
import ( import (

View File

@ -12,9 +12,6 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
//go:build go1.18
// +build go1.18
package metric // import "go.opentelemetry.io/otel/sdk/metric" package metric // import "go.opentelemetry.io/otel/sdk/metric"
import ( import (

View File

@ -12,9 +12,6 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
//go:build go1.18
// +build go1.18
package metric package metric
import ( import (

View File

@ -12,9 +12,6 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
//go:build go1.18
// +build go1.18
package metricdata // import "go.opentelemetry.io/otel/sdk/metric/metricdata" package metricdata // import "go.opentelemetry.io/otel/sdk/metric/metricdata"
import ( import (

View File

@ -12,9 +12,6 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
//go:build go1.18
// +build go1.18
// Package metricdatatest provides testing functionality for use with the // Package metricdatatest provides testing functionality for use with the
// metricdata package. // metricdata package.
package metricdatatest // import "go.opentelemetry.io/otel/sdk/metric/metricdata/metricdatatest" package metricdatatest // import "go.opentelemetry.io/otel/sdk/metric/metricdata/metricdatatest"

View File

@ -12,8 +12,8 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
//go:build go1.18 && tests_fail //go:build tests_fail
// +build go1.18,tests_fail // +build tests_fail
package metricdatatest // import "go.opentelemetry.io/otel/sdk/metric/metricdata/metricdatatest" package metricdatatest // import "go.opentelemetry.io/otel/sdk/metric/metricdata/metricdatatest"

View File

@ -12,9 +12,6 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
//go:build go1.18
// +build go1.18
package metricdatatest // import "go.opentelemetry.io/otel/sdk/metric/metricdata/metricdatatest" package metricdatatest // import "go.opentelemetry.io/otel/sdk/metric/metricdata/metricdatatest"
import ( import (

View File

@ -12,9 +12,6 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
//go:build go1.18
// +build go1.18
package metricdatatest // import "go.opentelemetry.io/otel/sdk/metric/metricdata/metricdatatest" package metricdatatest // import "go.opentelemetry.io/otel/sdk/metric/metricdata/metricdatatest"
import ( import (

View File

@ -12,9 +12,6 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
//go:build go1.18
// +build go1.18
package metric // import "go.opentelemetry.io/otel/sdk/metric" package metric // import "go.opentelemetry.io/otel/sdk/metric"
import ( import (

View File

@ -12,9 +12,6 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
//go:build go1.18
// +build go1.18
package metric // import "go.opentelemetry.io/otel/sdk/metric" package metric // import "go.opentelemetry.io/otel/sdk/metric"
import ( import (

View File

@ -12,9 +12,6 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
//go:build go1.18
// +build go1.18
package metric // import "go.opentelemetry.io/otel/sdk/metric" package metric // import "go.opentelemetry.io/otel/sdk/metric"
import ( import (

View File

@ -12,9 +12,6 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
//go:build go1.18
// +build go1.18
package metric // import "go.opentelemetry.io/otel/sdk/metric" package metric // import "go.opentelemetry.io/otel/sdk/metric"
import ( import (

View File

@ -12,9 +12,6 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
//go:build go1.18
// +build go1.18
package metric // import "go.opentelemetry.io/otel/sdk/metric" package metric // import "go.opentelemetry.io/otel/sdk/metric"
import ( import (

View File

@ -12,9 +12,6 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
//go:build go1.18
// +build go1.18
package metric // import "go.opentelemetry.io/otel/sdk/metric" package metric // import "go.opentelemetry.io/otel/sdk/metric"
import ( import (

View File

@ -4,7 +4,7 @@
// you may not use this file except in compliance with the License. // you may not use this file except in compliance with the License.
// You may obtain a copy of the License at // You may obtain a copy of the License at
// //
// http://www.apache.org/licenses/LICENSE-2.0 // http://www.apache.org/licenses/LICENSE-2.0
// //
// Unless required by applicable law or agreed to in writing, software // Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS, // distributed under the License is distributed on an "AS IS" BASIS,
@ -12,9 +12,6 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
//go:build go1.18
// +build go1.18
package metric package metric
import ( import (

View File

@ -12,9 +12,6 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
//go:build go1.18
// +build go1.18
package metric // import "go.opentelemetry.io/otel/sdk/metric" package metric // import "go.opentelemetry.io/otel/sdk/metric"
import ( import (

View File

@ -12,9 +12,6 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
//go:build go1.18
// +build go1.18
package metric // import "go.opentelemetry.io/otel/sdk/metric/reader" package metric // import "go.opentelemetry.io/otel/sdk/metric/reader"
import ( import (

View File

@ -12,9 +12,6 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
//go:build go1.18
// +build go1.18
package view // import "go.opentelemetry.io/otel/sdk/metric/view" package view // import "go.opentelemetry.io/otel/sdk/metric/view"
import ( import (

View File

@ -12,9 +12,6 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
//go:build go1.18
// +build go1.18
package view // import "go.opentelemetry.io/otel/sdk/metric/view" package view // import "go.opentelemetry.io/otel/sdk/metric/view"
import ( import (

View File

@ -12,9 +12,6 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
//go:build go1.18
// +build go1.18
package view // import "go.opentelemetry.io/otel/sdk/metric/view" package view // import "go.opentelemetry.io/otel/sdk/metric/view"
// InstrumentKind describes the kind of instrument a Meter can create. // InstrumentKind describes the kind of instrument a Meter can create.

View File

@ -12,9 +12,6 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
//go:build go1.18
// +build go1.18
package view // import "go.opentelemetry.io/otel/sdk/metric/view" package view // import "go.opentelemetry.io/otel/sdk/metric/view"
import ( import (

View File

@ -12,9 +12,6 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
//go:build go1.18
// +build go1.18
package view // import "go.opentelemetry.io/otel/sdk/metric/view" package view // import "go.opentelemetry.io/otel/sdk/metric/view"
import ( import (