From 5d94885c07a68558415a972a3249e57ab6d7eb41 Mon Sep 17 00:00:00 2001 From: sekky0905 Date: Mon, 20 May 2019 12:48:56 +0900 Subject: [PATCH] Add Install section to README --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index f4ac14d..5fb0434 100644 --- a/README.md +++ b/README.md @@ -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 Pike’s 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: