You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 27, 2022. It is now read-only.
return func(s string) string { // the return must match the full DoPrintSomething function signature
start := time.Now()
defer func() { fmt.Println("[decorate] took:", time.Since(start)) }() // as we return f(s) we must use defer as this executes "after" a function has "returned"