You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8Lines changed: 8 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -88,6 +88,14 @@ It's not perfect, but I think it's useful.
88
88
89
89
I took the output of the [Stringer](https://godoc.org/golang.org/x/tools/cmd/stringer) command as the `String()` method, and added a way to parse a string value.
90
90
91
+
## Docker image
92
+
93
+
You can now use a docker image directly for running the command if you do not wish to install anything!
94
+
95
+
```shell
96
+
docker run -w /app -v $(pwd):/app abice/go-enum:$(GO_ENUM_VERSION)
97
+
```
98
+
91
99
## Installation
92
100
93
101
You can now download a release directly from github and use that for generating your enums! (Thanks to [GoReleaser](https://github.com/goreleaser/goreleaser-action))
0 commit comments