func IsUnixSocket(path string) bool {
	stat, err := os.Stat(path)
	if err != nil {
		return false
	}
	return (stat.Mode() & os.ModeSocket) == os.ModeSocket
}
func IsUnixSocket(path string) bool {
	stat, err := os.Stat(path)
	if err != nil {
		return false
	}
	return (stat.Mode() & os.ModeSocket) == os.ModeSocket
}
func IsUnixSocket ( path string ) bool { stat , err := os . Stat ( path ) if err != nil { return false } return ( stat . Mode ( ) & os . ModeSocket ) == os . ModeSocket }
// IsUnixSocket returns true if the given path is either a Unix socket
// or a symbolic link pointing at a Unix socket.
IsUnixSocket returns true if the given path is either a Unix socket or a symbolic link pointing at a Unix socket .