time.go
func GetTime() (Time, error) {
	t := timeNow()

	// If we don't have a clock sequence already, set one.
	if clock_seq == 0 {
		SetClockSequence(-1)
	}
	now := uint64(t.UnixNano()/100) + g1582ns100

	// If time has gone backwards with this clock sequence then we
	// increment the clock sequence
	if now <= lasttime {
		clock_seq = ((clock_seq + 1) & 0x3fff) | 0x8000
	}
	lasttime = now
	return Time(now), nil
}
func GetTime() (Time, error) {
	t := timeNow()

	// If we don't have a clock sequence already, set one.
	if clock_seq == 0 {
		SetClockSequence(-1)
	}
	now := uint64(t.UnixNano()/100) + g1582ns100

	// If time has gone backwards with this clock sequence then we
	// increment the clock sequence
	if now <= lasttime {
		clock_seq = ((clock_seq + 1) & 0x3fff) | 0x8000
	}
	lasttime = now
	return Time(now), nil
}
func GetTime ( ) ( Time , error ) { t := timeNow ( ) // If we don't have a clock sequence already, set one. if clock_seq == 0 { SetClockSequence ( - 1 ) } now := uint64 ( t . UnixNano ( ) / 100 ) + g1582ns100 // If time has gone backwards with this clock sequence then we // increment the clock sequence if now <= lasttime { clock_seq = ( ( clock_seq + 1 ) & 0x3fff ) | 0x8000 } lasttime = now return Time ( now ) , nil }
// GetTime returns the current Time (100s of nanoseconds since 15 Oct 1582) and
// adjusts the clock sequence as needed.  An error is returned if the current
// time cannot be determined.
GetTime returns the current Time ( 100s of nanoseconds since 15 Oct 1582 ) and adjusts the clock sequence as needed . An error is returned if the current time cannot be determined .