Use strings.HasPrefix(name, ".") instead of strings.Index(name, ".") == 0
Merge pull request #3 from hnakamur/use_has_prefix_instead_of_index

Use strings.HasPrefix(name, ".") instead of strings.Index(name, ".") == 0