Documentation ¶ Index ¶ func CopyFile(srcPath, dstPath string) error func Range(n int) []int func ShuffleSlice(a []int) type Stopwatch func (s *Stopwatch) Elapsed() time.Duration func (s *Stopwatch) Reset() func (s *Stopwatch) Start() func (s *Stopwatch) Stop() Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func CopyFile ¶ func CopyFile(srcPath, dstPath string) error func Range ¶ func Range(n int) []int Return a slice of range [0, n) func ShuffleSlice ¶ func ShuffleSlice(a []int) Types ¶ type Stopwatch ¶ type Stopwatch struct { // contains filtered or unexported fields } func (*Stopwatch) Elapsed ¶ func (s *Stopwatch) Elapsed() time.Duration func (*Stopwatch) Reset ¶ func (s *Stopwatch) Reset() func (*Stopwatch) Start ¶ func (s *Stopwatch) Start() func (*Stopwatch) Stop ¶ func (s *Stopwatch) Stop() Source Files ¶ View all Source files stopwatch.go util.go Click to show internal directories. Click to hide internal directories.