Skip to content
Myr

Update README with missing import statements (#373)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Philipp Muens · committed by Eric Paris · parent b625668 · Browse files · 1 file+12 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+12 added−2 removed

  • other:+12 added−2 removed

1 file+12 added−2 removed

modified:README.md+12 added-2 removed
155 unmodified lines
156157```go158package main159160import "{pathToYourApp}/cmd"160import (161 "fmt"162 "os"163164 "{pathToYourApp}/cmd"165)166167func main() {168 if err := cmd.RootCmd.Execute(); err != nil {169 fmt.Println(err)170 os.Exit(-1)
146 unmodified lines
317318```go319package main320316import "{pathToYourApp}/cmd"321import (322 "fmt"323 "os"324325 "{pathToYourApp}/cmd"326)327328func main() {329 if err := cmd.RootCmd.Execute(); err != nil {330 fmt.Println(err)331 os.Exit(-1)
578 unmodified lines