From d9a1ba3348f404baffc4e3636388e0d031628223 Mon Sep 17 00:00:00 2001 From: Joshua Humphries <2035234+jhump@users.noreply.github.com> Date: Fri, 24 Mar 2023 16:07:23 -0400 Subject: [PATCH] StreamType constants should not be untyped numerics (#486) --- connect.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/connect.go b/connect.go index ff6d49d5..59c01486 100644 --- a/connect.go +++ b/connect.go @@ -47,8 +47,8 @@ type StreamType uint8 const ( StreamTypeUnary StreamType = 0b00 - StreamTypeClient = 0b01 - StreamTypeServer = 0b10 + StreamTypeClient StreamType = 0b01 + StreamTypeServer StreamType = 0b10 StreamTypeBidi = StreamTypeClient | StreamTypeServer )