๐Ÿ“ฆ alexandear / final-surge-bot

๐Ÿ“„ clock.go ยท 16 lines
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16package bot

import (
	"time"
)

type RealClock struct{}

func NewClock() *RealClock {
	return &RealClock{}
}

func (c *RealClock) Now() time.Time {
	return time.Now()
}