github.com/glycerine/zebrapack@v4.1.1-0.20181107023619-e955d028f9bf+incompatible/slides/state-of-go/tools/gofix.go (about)

     1  package main
     2  
     3  import "golang.org/x/net/context" // HL
     4  
     5  func main() {
     6  	ctx := context.Background()
     7  	doSomething(ctx)
     8  }
     9  
    10  func doSomething(ctx context.Context) {
    11  	// doing something
    12  }