func otherFileInfo(path string) fileInfo {
	info := fileNameInfo(path)
	if info.ext == unknownExt {
		return info
	}

	tags, err := readTags(info.path)
	if err != nil {
		log.Printf("%s: error reading file: %v", info.path, err)
		return info
	}
	info.tags = tags
	return info
}
func otherFileInfo(path string) fileInfo {
	info := fileNameInfo(path)
	if info.ext == unknownExt {
		return info
	}

	tags, err := readTags(info.path)
	if err != nil {
		log.Printf("%s: error reading file: %v", info.path, err)
		return info
	}
	info.tags = tags
	return info
}
func otherFileInfo ( path string ) fileInfo { info := fileNameInfo ( path ) if info . ext == unknownExt { return info } tags , err := readTags ( info . path ) if err != nil { log . Printf ( " " , info . path , err ) return info } info . tags = tags return info }
// otherFileInfo returns information about a non-.go file. It will parse
// part of the file to determine build tags. If the file can't be read, an
// error will be logged, and partial information will be returned.
otherFileInfo returns information about a non - . go file . It will parse part of the file to determine build tags . If the file can t be read an error will be logged and partial information will be returned .