The net package in go provides this function:
func ResolveUnixAddr(net, addr string) (*UnixAddr, error)
The string parameter net gives the network name, "unix", "unixgram" or "unixpacket".
I guess the the network name's meaning as:
unixgram: as type SOCK_DGRAM in socket() function, used by ListenPacket() in net package.
unixpacket: as type SOCK_STREAM in socket() function, used by Listen() in net package.
unix: either
Am I right?