time.Duration.Truncate (method)

2 uses

	time (current package)
		time.go#L799: func (d Duration) Truncate(m Duration) Duration {

	github.com/gotd/td/telegram/auth/qrlogin
		qrlogin.go#L143: 		return token.Expires().Sub(q.clock.Now()).Truncate(time.Second)