code: func isAssetFile(path string, assetExts []string) (ok bool) {
  	base := filepath.Base(path)
  	for _, pattern := range assetExts {
  		if match, _ := filepath.Match(pattern, base); match {
  			return true
  		}
  	}
  	return false
  }
docs: // isAssetFile returns true if `path` base name matches some of
  // `assetExts` glob.