package main import ( "strings" ) func isHidden(path string) bool { if path[0] == '.' || strings.Contains(path, "/.") { return true } return false }