Skip to content

Commit 35f8c48

Browse files
committed
add doc.go
1 parent 7830233 commit 35f8c48

File tree

5 files changed

+36
-8
lines changed

5 files changed

+36
-8
lines changed

api/propagation/doc.go

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
// Copyright 2019, OpenTelemetry Authors
2+
//
3+
// Licensed under the Apache License, Version 2.0 (the "License");
4+
// you may not use this file except in compliance with the License.
5+
// You may obtain a copy of the License at
6+
//
7+
// http://www.apache.org/licenses/LICENSE-2.0
8+
//
9+
// Unless required by applicable law or agreed to in writing, software
10+
// distributed under the License is distributed on an "AS IS" BASIS,
11+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
// See the License for the specific language governing permissions and
13+
// limitations under the License.
14+
15+
// Package propagation contains interface definition for Binary and TextFormat propagators.
16+
package propagation // import "go.opentelemetry.io/api/propagation"

api/propagation/propagator.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,7 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15-
// Package tracecontext contains HTTP propagator for TraceContext standard.
16-
// See https://github.com/w3c/distributed-tracing for more information.
17-
package propagation // import "go.opentelemetry.io/api/propagation"
15+
package propagation
1816

1917
import (
2018
"go.opentelemetry.io/api/core"

propagation/doc.go

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
// Copyright 2019, OpenTelemetry Authors
2+
//
3+
// Licensed under the Apache License, Version 2.0 (the "License");
4+
// you may not use this file except in compliance with the License.
5+
// You may obtain a copy of the License at
6+
//
7+
// http://www.apache.org/licenses/LICENSE-2.0
8+
//
9+
// Unless required by applicable law or agreed to in writing, software
10+
// distributed under the License is distributed on an "AS IS" BASIS,
11+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
// See the License for the specific language governing permissions and
13+
// limitations under the License.
14+
15+
// Package propagation contains propagators for different format and carriers.
16+
package propagation // import "go.opentelemetry.io/propagation"

propagation/http_trace_context_propagator.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,7 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15-
// Package tracecontext contains HTTP propagator for TraceContext standard.
16-
// See https://github.com/w3c/distributed-tracing for more information.
17-
package propagation // import "go.opentelemetry.io/propagation"
15+
package propagation
1816

1917
import (
2018
"encoding/hex"

propagation/http_trace_context_propagator_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ import (
1818
"net/http"
1919
"testing"
2020

21-
"go.opentelemetry.io/api/tag"
22-
2321
"github.com/google/go-cmp/cmp"
22+
2423
"go.opentelemetry.io/api/core"
24+
"go.opentelemetry.io/api/tag"
2525
"go.opentelemetry.io/propagation"
2626
)
2727

0 commit comments

Comments
 (0)