Simplify formatting in patricia.go

`gofmt -s -w .`
This commit is contained in:
Tamir Duberstein
2016-02-21 10:41:14 -05:00
committed by Soheil Hassas Yeganeh
parent 3ca13bcd9e
commit 6c298ce7b1
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -8,4 +8,5 @@ before_install:
- go get -u github.com/golang/lint/golint
before_script:
- '! gofmt -s -l . | read'
- golint ./...
+1 -1
View File
@@ -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++ {