aboutsummaryrefslogblamecommitdiff
path: root/util.go
blob: 0037330a5ad9a518c7e9641f3c99a847255cca28 (plain) (tree)
1
2
3
4
5
6
7
8







                                                         
package main

func trimInitialSpaces(line string) string {
	var i int
	for i = 0; i < len(line) && line[i] == ' '; i++ {
	}
	return line[i:]
}