Skip to content

Commit

Permalink
Merge pull request #15 from zhuzhengyang/patch-1
Browse files Browse the repository at this point in the history
Update README.md
  • Loading branch information
timestee authored Apr 15, 2024
2 parents 6c23d3d + 43f7fd1 commit 765ae26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Functional options are an idiomatic way of creating APIs with options on types.
## Install
Install using go install, and this will build the optionGen binary in $GOPATH/bin.
```bash
go install github.com/timestee/optiongen/cmd/optiongen@latest
go install github.com/timestee/optiongen/cmd/optiongen@master
```

optionGen require [goimports](https://godoc.org/golang.org/x/tools/cmd/goimports) to format code which is generated. So you may confirm that `goimports` has been installed
Expand Down

0 comments on commit 765ae26

Please sign in to comment.