Gotimetime.Unix

Returns the local Time corresponding to the given Unix time.

문법

time.Unix(sec, nsec int64) time.Time