From 5b8181cc96081b26c4436dc7abe4db35a7b4ac94 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Paj=C4=85k?= Date: Thu, 25 May 2023 16:59:41 +0200 Subject: [PATCH] Remove doc.go.tmpl --- .../otelrestful/internal/semconvutil/doc.go | 19 ------------------- .../otelrestful/internal/semconvutil/gen.go | 1 - .../gin/otelgin/internal/semconvutil/doc.go | 19 ------------------- .../gin/otelgin/internal/semconvutil/gen.go | 1 - .../mux/otelmux/internal/semconvutil/doc.go | 19 ------------------- .../mux/otelmux/internal/semconvutil/gen.go | 1 - .../echo/otelecho/internal/semconvutil/doc.go | 19 ------------------- .../echo/otelecho/internal/semconvutil/gen.go | 1 - .../otelmacaron/internal/semconvutil/doc.go | 19 ------------------- .../otelmacaron/internal/semconvutil/gen.go | 1 - .../otelhttptrace/internal/semconvutil/doc.go | 19 ------------------- .../otelhttptrace/internal/semconvutil/gen.go | 1 - .../http/otelhttp/internal/semconvutil/doc.go | 19 ------------------- .../http/otelhttp/internal/semconvutil/gen.go | 1 - internal/shared/semconvutil/doc.go.tmpl | 19 ------------------- 15 files changed, 159 deletions(-) delete mode 100644 instrumentation/github.com/emicklei/go-restful/otelrestful/internal/semconvutil/doc.go delete mode 100644 instrumentation/github.com/gin-gonic/gin/otelgin/internal/semconvutil/doc.go delete mode 100644 instrumentation/github.com/gorilla/mux/otelmux/internal/semconvutil/doc.go delete mode 100644 instrumentation/github.com/labstack/echo/otelecho/internal/semconvutil/doc.go delete mode 100644 instrumentation/gopkg.in/macaron.v1/otelmacaron/internal/semconvutil/doc.go delete mode 100644 instrumentation/net/http/httptrace/otelhttptrace/internal/semconvutil/doc.go delete mode 100644 instrumentation/net/http/otelhttp/internal/semconvutil/doc.go delete mode 100644 internal/shared/semconvutil/doc.go.tmpl diff --git a/instrumentation/github.com/emicklei/go-restful/otelrestful/internal/semconvutil/doc.go b/instrumentation/github.com/emicklei/go-restful/otelrestful/internal/semconvutil/doc.go deleted file mode 100644 index 0d963ff5265..00000000000 --- a/instrumentation/github.com/emicklei/go-restful/otelrestful/internal/semconvutil/doc.go +++ /dev/null @@ -1,19 +0,0 @@ -// Code created by gotmpl. DO NOT MODIFY. -// source: internal/shared/semconvutil/doc.go.tmpl - -// Copyright The OpenTelemetry Authors -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -// Package semconvutil provides OpenTelemetry semantic conventions helpers. -package semconvutil // import "go.opentelemetry.io/contrib/instrumentation/github.com/emicklei/go-restful/otelrestful/internal/semconvutil" diff --git a/instrumentation/github.com/emicklei/go-restful/otelrestful/internal/semconvutil/gen.go b/instrumentation/github.com/emicklei/go-restful/otelrestful/internal/semconvutil/gen.go index db43e7f5019..cb58065a97f 100644 --- a/instrumentation/github.com/emicklei/go-restful/otelrestful/internal/semconvutil/gen.go +++ b/instrumentation/github.com/emicklei/go-restful/otelrestful/internal/semconvutil/gen.go @@ -15,7 +15,6 @@ package semconvutil // import "go.opentelemetry.io/contrib/instrumentation/github.com/emicklei/go-restful/otelrestful/internal/semconvutil" // Generate semconvutil package: -//go:generate gotmpl --body=../../../../../../../internal/shared/semconvutil/doc.go.tmpl "--data={}" --out=doc.go //go:generate gotmpl --body=../../../../../../../internal/shared/semconvutil/httpconv_test.go.tmpl "--data={}" --out=httpconv_test.go //go:generate gotmpl --body=../../../../../../../internal/shared/semconvutil/httpconv.go.tmpl "--data={}" --out=httpconv.go //go:generate gotmpl --body=../../../../../../../internal/shared/semconvutil/netconv_test.go.tmpl "--data={}" --out=netconv_test.go diff --git a/instrumentation/github.com/gin-gonic/gin/otelgin/internal/semconvutil/doc.go b/instrumentation/github.com/gin-gonic/gin/otelgin/internal/semconvutil/doc.go deleted file mode 100644 index 167ed5e31d4..00000000000 --- a/instrumentation/github.com/gin-gonic/gin/otelgin/internal/semconvutil/doc.go +++ /dev/null @@ -1,19 +0,0 @@ -// Code created by gotmpl. DO NOT MODIFY. -// source: internal/shared/semconvutil/doc.go.tmpl - -// Copyright The OpenTelemetry Authors -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -// Package semconvutil provides OpenTelemetry semantic conventions helpers. -package semconvutil // import "go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin/internal/semconvutil" diff --git a/instrumentation/github.com/gin-gonic/gin/otelgin/internal/semconvutil/gen.go b/instrumentation/github.com/gin-gonic/gin/otelgin/internal/semconvutil/gen.go index 78f7108d824..1e9c0c94cac 100644 --- a/instrumentation/github.com/gin-gonic/gin/otelgin/internal/semconvutil/gen.go +++ b/instrumentation/github.com/gin-gonic/gin/otelgin/internal/semconvutil/gen.go @@ -15,7 +15,6 @@ package semconvutil // import "go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin/internal/semconvutil" // Generate semconvutil package: -//go:generate gotmpl --body=../../../../../../../internal/shared/semconvutil/doc.go.tmpl "--data={}" --out=doc.go //go:generate gotmpl --body=../../../../../../../internal/shared/semconvutil/httpconv_test.go.tmpl "--data={}" --out=httpconv_test.go //go:generate gotmpl --body=../../../../../../../internal/shared/semconvutil/httpconv.go.tmpl "--data={}" --out=httpconv.go //go:generate gotmpl --body=../../../../../../../internal/shared/semconvutil/netconv_test.go.tmpl "--data={}" --out=netconv_test.go diff --git a/instrumentation/github.com/gorilla/mux/otelmux/internal/semconvutil/doc.go b/instrumentation/github.com/gorilla/mux/otelmux/internal/semconvutil/doc.go deleted file mode 100644 index 0354ba77133..00000000000 --- a/instrumentation/github.com/gorilla/mux/otelmux/internal/semconvutil/doc.go +++ /dev/null @@ -1,19 +0,0 @@ -// Code created by gotmpl. DO NOT MODIFY. -// source: internal/shared/semconvutil/doc.go.tmpl - -// Copyright The OpenTelemetry Authors -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -// Package semconvutil provides OpenTelemetry semantic conventions helpers. -package semconvutil // import "go.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux/internal/semconvutil" diff --git a/instrumentation/github.com/gorilla/mux/otelmux/internal/semconvutil/gen.go b/instrumentation/github.com/gorilla/mux/otelmux/internal/semconvutil/gen.go index b1719409245..1c9ab4a1b0b 100644 --- a/instrumentation/github.com/gorilla/mux/otelmux/internal/semconvutil/gen.go +++ b/instrumentation/github.com/gorilla/mux/otelmux/internal/semconvutil/gen.go @@ -15,7 +15,6 @@ package semconvutil // import "go.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux/internal/semconvutil" // Generate semconvutil package: -//go:generate gotmpl --body=../../../../../../../internal/shared/semconvutil/doc.go.tmpl "--data={}" --out=doc.go //go:generate gotmpl --body=../../../../../../../internal/shared/semconvutil/httpconv_test.go.tmpl "--data={}" --out=httpconv_test.go //go:generate gotmpl --body=../../../../../../../internal/shared/semconvutil/httpconv.go.tmpl "--data={}" --out=httpconv.go //go:generate gotmpl --body=../../../../../../../internal/shared/semconvutil/netconv_test.go.tmpl "--data={}" --out=netconv_test.go diff --git a/instrumentation/github.com/labstack/echo/otelecho/internal/semconvutil/doc.go b/instrumentation/github.com/labstack/echo/otelecho/internal/semconvutil/doc.go deleted file mode 100644 index 103a295aefc..00000000000 --- a/instrumentation/github.com/labstack/echo/otelecho/internal/semconvutil/doc.go +++ /dev/null @@ -1,19 +0,0 @@ -// Code created by gotmpl. DO NOT MODIFY. -// source: internal/shared/semconvutil/doc.go.tmpl - -// Copyright The OpenTelemetry Authors -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -// Package semconvutil provides OpenTelemetry semantic conventions helpers. -package semconvutil // import "go.opentelemetry.io/contrib/instrumentation/github.com/labstack/echo/otelecho/internal/semconvutil" diff --git a/instrumentation/github.com/labstack/echo/otelecho/internal/semconvutil/gen.go b/instrumentation/github.com/labstack/echo/otelecho/internal/semconvutil/gen.go index 69314abe955..8e3e5722c4a 100644 --- a/instrumentation/github.com/labstack/echo/otelecho/internal/semconvutil/gen.go +++ b/instrumentation/github.com/labstack/echo/otelecho/internal/semconvutil/gen.go @@ -15,7 +15,6 @@ package semconvutil // import "go.opentelemetry.io/contrib/instrumentation/github.com/labstack/echo/otelecho/internal/semconvutil" // Generate semconvutil package: -//go:generate gotmpl --body=../../../../../../../internal/shared/semconvutil/doc.go.tmpl "--data={}" --out=doc.go //go:generate gotmpl --body=../../../../../../../internal/shared/semconvutil/httpconv_test.go.tmpl "--data={}" --out=httpconv_test.go //go:generate gotmpl --body=../../../../../../../internal/shared/semconvutil/httpconv.go.tmpl "--data={}" --out=httpconv.go //go:generate gotmpl --body=../../../../../../../internal/shared/semconvutil/netconv_test.go.tmpl "--data={}" --out=netconv_test.go diff --git a/instrumentation/gopkg.in/macaron.v1/otelmacaron/internal/semconvutil/doc.go b/instrumentation/gopkg.in/macaron.v1/otelmacaron/internal/semconvutil/doc.go deleted file mode 100644 index dd056da90c5..00000000000 --- a/instrumentation/gopkg.in/macaron.v1/otelmacaron/internal/semconvutil/doc.go +++ /dev/null @@ -1,19 +0,0 @@ -// Code created by gotmpl. DO NOT MODIFY. -// source: internal/shared/semconvutil/doc.go.tmpl - -// Copyright The OpenTelemetry Authors -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -// Package semconvutil provides OpenTelemetry semantic conventions helpers. -package semconvutil // import "go.opentelemetry.io/contrib/instrumentation/gopkg.in/macaron.v1/otelmacaron/internal/semconvutil" diff --git a/instrumentation/gopkg.in/macaron.v1/otelmacaron/internal/semconvutil/gen.go b/instrumentation/gopkg.in/macaron.v1/otelmacaron/internal/semconvutil/gen.go index fb5b7546131..d7d4009f8a4 100644 --- a/instrumentation/gopkg.in/macaron.v1/otelmacaron/internal/semconvutil/gen.go +++ b/instrumentation/gopkg.in/macaron.v1/otelmacaron/internal/semconvutil/gen.go @@ -15,7 +15,6 @@ package semconvutil // import "go.opentelemetry.io/contrib/instrumentation/gopkg.in/macaron.v1/otelmacaron/internal/semconvutil" // Generate semconvutil package: -//go:generate gotmpl --body=../../../../../../internal/shared/semconvutil/doc.go.tmpl "--data={}" --out=doc.go //go:generate gotmpl --body=../../../../../../internal/shared/semconvutil/httpconv_test.go.tmpl "--data={}" --out=httpconv_test.go //go:generate gotmpl --body=../../../../../../internal/shared/semconvutil/httpconv.go.tmpl "--data={}" --out=httpconv.go //go:generate gotmpl --body=../../../../../../internal/shared/semconvutil/netconv_test.go.tmpl "--data={}" --out=netconv_test.go diff --git a/instrumentation/net/http/httptrace/otelhttptrace/internal/semconvutil/doc.go b/instrumentation/net/http/httptrace/otelhttptrace/internal/semconvutil/doc.go deleted file mode 100644 index c5c42a79fe9..00000000000 --- a/instrumentation/net/http/httptrace/otelhttptrace/internal/semconvutil/doc.go +++ /dev/null @@ -1,19 +0,0 @@ -// Code created by gotmpl. DO NOT MODIFY. -// source: internal/shared/semconvutil/doc.go.tmpl - -// Copyright The OpenTelemetry Authors -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -// Package semconvutil provides OpenTelemetry semantic conventions helpers. -package semconvutil // import "go.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptrace/internal/semconvutil" diff --git a/instrumentation/net/http/httptrace/otelhttptrace/internal/semconvutil/gen.go b/instrumentation/net/http/httptrace/otelhttptrace/internal/semconvutil/gen.go index 137584f44b5..17963499857 100644 --- a/instrumentation/net/http/httptrace/otelhttptrace/internal/semconvutil/gen.go +++ b/instrumentation/net/http/httptrace/otelhttptrace/internal/semconvutil/gen.go @@ -15,7 +15,6 @@ package semconvutil // import "go.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptrace/internal/semconvutil" // Generate semconvutil package: -//go:generate gotmpl --body=../../../../../../../internal/shared/semconvutil/doc.go.tmpl "--data={}" --out=doc.go //go:generate gotmpl --body=../../../../../../../internal/shared/semconvutil/httpconv_test.go.tmpl "--data={}" --out=httpconv_test.go //go:generate gotmpl --body=../../../../../../../internal/shared/semconvutil/httpconv.go.tmpl "--data={}" --out=httpconv.go //go:generate gotmpl --body=../../../../../../../internal/shared/semconvutil/netconv_test.go.tmpl "--data={}" --out=netconv_test.go diff --git a/instrumentation/net/http/otelhttp/internal/semconvutil/doc.go b/instrumentation/net/http/otelhttp/internal/semconvutil/doc.go deleted file mode 100644 index c5deedbb779..00000000000 --- a/instrumentation/net/http/otelhttp/internal/semconvutil/doc.go +++ /dev/null @@ -1,19 +0,0 @@ -// Code created by gotmpl. DO NOT MODIFY. -// source: internal/shared/semconvutil/doc.go.tmpl - -// Copyright The OpenTelemetry Authors -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -// Package semconvutil provides OpenTelemetry semantic conventions helpers. -package semconvutil // import "go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp/internal/semconvutil" diff --git a/instrumentation/net/http/otelhttp/internal/semconvutil/gen.go b/instrumentation/net/http/otelhttp/internal/semconvutil/gen.go index cb7f731b81c..edf4ce3d315 100644 --- a/instrumentation/net/http/otelhttp/internal/semconvutil/gen.go +++ b/instrumentation/net/http/otelhttp/internal/semconvutil/gen.go @@ -15,7 +15,6 @@ package semconvutil // import "go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp/internal/semconvutil" // Generate semconvutil package: -//go:generate gotmpl --body=../../../../../../internal/shared/semconvutil/doc.go.tmpl "--data={}" --out=doc.go //go:generate gotmpl --body=../../../../../../internal/shared/semconvutil/httpconv_test.go.tmpl "--data={}" --out=httpconv_test.go //go:generate gotmpl --body=../../../../../../internal/shared/semconvutil/httpconv.go.tmpl "--data={}" --out=httpconv.go //go:generate gotmpl --body=../../../../../../internal/shared/semconvutil/netconv_test.go.tmpl "--data={}" --out=netconv_test.go diff --git a/internal/shared/semconvutil/doc.go.tmpl b/internal/shared/semconvutil/doc.go.tmpl deleted file mode 100644 index 762c100de5a..00000000000 --- a/internal/shared/semconvutil/doc.go.tmpl +++ /dev/null @@ -1,19 +0,0 @@ -// Code created by gotmpl. DO NOT MODIFY. -// source: internal/shared/semconvutil/doc.go.tmpl - -// Copyright The OpenTelemetry Authors -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -// Package semconvutil provides OpenTelemetry semantic conventions helpers. -package semconvutil // import "go.opentelemetry.io/contrib/internal/shared/semconvutil"