File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11run :
2- go : ' 1.19'
3- deadline : 210s
2+ go : ' 1.23'
43 timeout : 10m
5- skip-dirs :
4+
5+ issues :
6+ exclude-dirs :
67 - mocks
78 - ' .*_mock'
8- skip -files :
9+ exclude -files :
910 - ' .*_mock.go'
1011 - " .*\\ .pb\\ .go$"
1112
Original file line number Diff line number Diff line change 11NAME = stream-cli
22
3- GOLANGCI_VERSION = 1.55 .2
3+ GOLANGCI_VERSION = 1.62 .2
44GOLANGCI = .bin/golangci/$(GOLANGCI_VERSION ) /golangci-lint
55$(GOLANGCI ) :
66 @curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(dir $(GOLANGCI ) ) v$(GOLANGCI_VERSION )
Original file line number Diff line number Diff line change @@ -551,7 +551,7 @@ func hideCmd() *cobra.Command {
551551 return err
552552 }
553553
554- cmd .Printf ("Successfully hid channel for " + userID + " \n " )
554+ cmd .Printf ("Successfully hid channel for %s \n " , userID )
555555 return nil
556556 },
557557 }
Original file line number Diff line number Diff line change 66 "math/rand"
77 "os"
88 "testing"
9- "time"
109
1110 stream "github.com/GetStream/stream-chat-go/v8"
1211 "github.com/spf13/cobra"
@@ -91,7 +90,6 @@ func DeleteMessage(id string) {
9190}
9291
9392func RandomString (n int ) string {
94- rand .Seed (time .Now ().UnixNano ())
9593 bytes := make ([]byte , n )
9694 for i := 0 ; i < n ; i ++ {
9795 bytes [i ] = byte (65 + rand .Intn (25 )) // A=65 and Z = 65+25
You can’t perform that action at this time.
0 commit comments