Add Install section to README

This commit is contained in:
sekky0905 2019-05-20 12:48:56 +09:00
parent a68056ee97
commit 5d94885c07
1 changed files with 6 additions and 0 deletions

View File

@ -2,6 +2,12 @@
Enumer is a tool to generate Go code that adds useful methods to Go enums (constants with a specific type).
It started as a fork of [Rob Pikes Stringer tool](https://godoc.org/golang.org/x/tools/cmd/stringer).
# Install
```
go get github.com/alvaroloes/enumer
```
## Generated functions and methods
When Enumer is applied to a type, it will generate: