Skip to content

Commit a63c63a

Browse files
committed
ensure backwards compatibility message is in all places it should be
1 parent 5970fd4 commit a63c63a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

propagation/propagation.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,19 @@ type TextMapCarrier interface {
3131

3232
// MultiTextMapCarrier is a TextMapCarrier that can return multiple values for a single key.
3333
type MultiTextMapCarrier interface {
34+
// DO NOT CHANGE: any modification will not be backwards compatible and
35+
// must never be done outside of a new major release.
36+
3437
TextMapCarrier
3538
MultiGetter
3639
}
3740

3841
// MultiGetter can return multiple values for a single key,
3942
// with contrast to TextMapCarrier.Get which returns a single value.
4043
type MultiGetter interface {
44+
// DO NOT CHANGE: any modification will not be backwards compatible and
45+
// must never be done outside of a new major release.
46+
4147
// Values returns all values associated with the passed key.
4248
Values(key string) []string
4349
// DO NOT CHANGE: any modification will not be backwards compatible and

0 commit comments

Comments
 (0)