Skip to content

Latest commit

 

History

History
39 lines (22 loc) · 420 Bytes

README.md

File metadata and controls

39 lines (22 loc) · 420 Bytes

noop ⚡

A no-op in golang. It does nothing.

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()

// ...