Skip to content

Commit d6da295

Browse files
authored
Expose the Symbol type (#346)
1 parent 062c8bb commit d6da295

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
* Added methods `Done` and `Err` to `Conn`
88
* `Done` returns a channel that's closed when `Conn` has closed.
99
* `Err` explains why `Conn` was closed.
10+
* encoding.Symbol was exposed as a public type `Symbol`.
1011

1112
## 1.2.0 (2024-09-30)
1213

message.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -510,3 +510,6 @@ type Annotations = encoding.Annotations
510510

511511
// UUID is a 128 bit identifier as defined in RFC 4122.
512512
type UUID = encoding.UUID
513+
514+
// Symbol is an AMQP symbolic string.
515+
type Symbol = encoding.Symbol

0 commit comments

Comments
 (0)