go fmt
This commit is contained in:
parent
66c5476fb7
commit
5153f22c9c
|
@ -35,12 +35,12 @@ func ReadLines(filename string) ([]string, error) {
|
|||
func byteToString(orig []byte) string {
|
||||
n := -1
|
||||
l := -1
|
||||
for i, b := range orig{
|
||||
for i, b := range orig {
|
||||
// skip left side null
|
||||
if l == -1 && b == 0{
|
||||
if l == -1 && b == 0 {
|
||||
continue
|
||||
}
|
||||
if l == -1{
|
||||
if l == -1 {
|
||||
l = i
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue