Skip to content

Commit

Permalink
StreamType constants should not be untyped numerics (#486)
Browse files Browse the repository at this point in the history
  • Loading branch information
jhump authored Mar 24, 2023
1 parent 01c75ca commit d9a1ba3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions connect.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ type StreamType uint8

const (
StreamTypeUnary StreamType = 0b00
StreamTypeClient = 0b01
StreamTypeServer = 0b10
StreamTypeClient StreamType = 0b01
StreamTypeServer StreamType = 0b10
StreamTypeBidi = StreamTypeClient | StreamTypeServer
)

Expand Down

0 comments on commit d9a1ba3

Please sign in to comment.