noop ⚡ A no-op in golang. It does nothing. installation go get github.com/bhargav175/noop Usage import "github.com/bhargav175/noop" // ... var a func() if want_to_do_something == true { a = func() { //do something } }else{ a = noop.Noop } a() // ...