File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2222
2323 - name : lint
2424 if : matrix.os == 'ubuntu-latest'
25- run : go run github.com/ysmood/golangci-lint@latest -v 1.59.1
25+ run : go run github.com/ysmood/golangci-lint@latest -v 1.64.5
2626
2727 - name : test
2828 env :
Original file line number Diff line number Diff line change 1- linters :
2- enable :
3- - gofmt
4- - revive
5- - gocyclo
6- - misspell
7-
8- linters-settings :
9- gocyclo :
10- min-complexity : 15
11-
12- issues :
13- exclude-dirs-use-default : false
1+ version : v1.64
Original file line number Diff line number Diff line change @@ -117,8 +117,10 @@ var regWord = regexp.MustCompile(`(?s)` + // enable . to match newline
117117// RegRune to match a rune
118118var regRune = regexp .MustCompile (`(?s).` )
119119
120+ type contextSplitKey struct {}
121+
120122// SplitKey for context
121- var SplitKey = struct {} {}
123+ var SplitKey = contextSplitKey {}
122124
123125// Split a line into words
124126func Split (s string ) []string {
You can’t perform that action at this time.
0 commit comments