file.go
func FileSize(filename string) int64 {
	info, err := os.Stat(filename)
	if err != nil {
		return 0
	}
	return info.Size()
}
func FileSize(filename string) int64 {
	info, err := os.Stat(filename)
	if err != nil {
		return 0
	}
	return info.Size()
}
func FileSize ( filename string ) int64 { info , err := os . Stat ( filename ) if err != nil { return 0 } return info . Size ( ) }
// FileSize returns the size of a file or zero in case of an error.
FileSize returns the size of a file or zero in case of an error .