2
0
mirror of https://github.com/soheilhy/cmux.git synced 2024-09-20 02:55:46 +08:00

Simplify formatting in patricia.go

`gofmt -s -w .`
This commit is contained in:
Tamir Duberstein 2016-01-07 10:12:05 -05:00 committed by Soheil Hassas Yeganeh
parent 3ca13bcd9e
commit 6c298ce7b1
2 changed files with 2 additions and 1 deletions

View File

@ -8,4 +8,5 @@ before_install:
- go get -u github.com/golang/lint/golint - go get -u github.com/golang/lint/golint
before_script: before_script:
- '! gofmt -s -l . | read'
- golint ./... - golint ./...

View File

@ -84,7 +84,7 @@ func splitPrefix(bss [][]byte) (prefix []byte, rest [][]byte) {
} }
if len(bss) == 1 { if len(bss) == 1 {
return bss[0], [][]byte{[]byte{}} return bss[0], [][]byte{{}}
} }
for i := 0; ; i++ { for i := 0; ; i++ {