//go:linkname timeAbs time.Time.abs func timeAbs(time.Time) uint64 //go:linkname absClock time.absClock func absClock(uint64) (hour, min, sec int) //go:linkname absDate time.absDate func absDate(uint64, bool) (year int, month time.Month, day int, yday int) func TestLinkname(t *testing.T) { … }