You can get UTC and unix from the time interface itself.
To convert a unix timestamp to a time object. Use this:
t := time.Unix(1494505756, 0)
fmt.Println(t)
func Unix (sec int64, nsec int64) Time
Unix returns the local time corresponding to the specified Unix time, seconds, and nsec nanoseconds from January 1, 1970 UTC. Indeed, skipping nsec is out of range [0, 999999999]. Not all sec values โโhave a corresponding time value. One such value is 1 <63.1 (the largest value is int64).
For UTC:
time.Now().UTC()
UTC t , UTC. : https://golang.org/pkg/time/#UTC
Unix:
time.Now().Unix()
Unix t Unix, , 1 1970 UTC. :