gofmt -s -w *.go */*.go

This commit is contained in:
6543 2021-11-25 16:12:28 +01:00
parent 5ed8d0f129
commit e800d2110e
No known key found for this signature in database
GPG key ID: C99B82E40B027BAE
6 changed files with 58 additions and 44 deletions

View file

@ -14,9 +14,9 @@ var Logger = func(s string, i ...interface{}) {
}
type Stepper struct {
Name string
Start time.Time
LastStep time.Time
Name string
Start time.Time
LastStep time.Time
Completion time.Time
}
@ -27,8 +27,8 @@ func Start(name string) *Stepper {
t := time.Now()
Logger("%s: started at %s\n", name, t.Format(time.RFC3339))
return &Stepper{
Name: name,
Start: t,
Name: name,
Start: t,
LastStep: t,
}
}