mirror of
https://github.com/soheilhy/cmux.git
synced 2024-11-10 11:41:52 +08:00
gofmt -s -w .
This commit is contained in:
parent
1a5077184d
commit
6c8efedfa1
@ -8,4 +8,5 @@ before_install:
|
||||
- go get -u github.com/golang/lint/golint
|
||||
|
||||
before_script:
|
||||
- '! gofmt -s -l . | read'
|
||||
- golint ./...
|
||||
|
@ -84,7 +84,7 @@ func splitPrefix(bss [][]byte) (prefix []byte, rest [][]byte) {
|
||||
}
|
||||
|
||||
if len(bss) == 1 {
|
||||
return bss[0], [][]byte{[]byte{}}
|
||||
return bss[0], [][]byte{{}}
|
||||
}
|
||||
|
||||
for i := 0; ; i++ {
|
||||
|
Loading…
Reference in New Issue
Block a user