17 lines
191 B
Go
17 lines
191 B
Go
package main
|
|
|
|
// skipSpace
|
|
func skipSpace(content *string, i *int) {
|
|
|
|
ct := *content
|
|
idx := *i
|
|
|
|
for ; idx < len(ct); idx++ {
|
|
if ct[idx] == ' ' {
|
|
continue
|
|
} else {
|
|
break
|
|
}
|
|
}
|
|
}
|