type github.com/gotd/neo.Time
23 uses
github.com/gotd/neo (current package)
ticker.go#L8: time *Time
time.go#L24: func NewTime(now time.Time) *Time {
time.go#L25: return &Time{
time.go#L34: type Time struct {
time.go#L45: func (t *Time) Timer(d time.Duration) Timer {
time.go#L54: func (t *Time) Ticker(d time.Duration) Ticker {
time.go#L64: func (t *Time) planUnlocked(when time.Time, do func(now time.Time)) int {
time.go#L75: func (t *Time) plan(when time.Time, do func(now time.Time)) int {
time.go#L84: func (t *Time) stop(id int) bool {
time.go#L96: func (t *Time) reset(d time.Duration, id int, do func(now time.Time), durp *time.Duration) {
time.go#L103: func (t *Time) resetUnlocked(d time.Duration, id int, do func(now time.Time), durp *time.Duration) {
time.go#L118: func (t *Time) tickUnlocked() moments {
time.go#L134: func (t *Time) Now() time.Time {
time.go#L143: func (t *Time) Set(now time.Time) {
time.go#L152: func (t *Time) Travel(d time.Duration) time.Time {
time.go#L163: func (t *Time) TravelDate(years, months, days int) time.Time {
time.go#L173: func (t *Time) setUnlocked(now time.Time) {
time.go#L179: func (t *Time) Sleep(d time.Duration) { <-t.After(d) }
time.go#L182: func (t *Time) When(d time.Duration) time.Time {
time.go#L188: func (t *Time) After(d time.Duration) <-chan time.Time {
time.go#L198: func (t *Time) Observe() <-chan struct{} {
time.go#L207: func (t *Time) observeUnlocked() {
timer.go#L6: time *Time
|
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |