Chris Bannister vor 10 Jahren
Ursprung
Commit
1bd96c7e03
1 geänderte Dateien mit 5 neuen und 3 gelöschten Zeilen
  1. 5 3
      conn.go

+ 5 - 3
conn.go

@@ -21,9 +21,11 @@ import (
 	"time"
 )
 
-const defaultFrameSize = 4096
-const flagResponse = 0x80
-const maskVersion = 0x7F
+const (
+	defaultFrameSize = 4096
+	flagResponse     = 0x80
+	maskVersion      = 0x7F
+)
 
 //JoinHostPort is a utility to return a address string that can be used
 //gocql.Conn to form a connection with a host.