Passing argument to Go IIFE (following javascript example)
func(twoSeconds time.Duration) { // use twoSeconds }(time.Second * 2)oo
Last updated 3 years ago
Was this helpful?