From 12f8ca100446a6f338e22cb8321b0eb9634cd4d7 Mon Sep 17 00:00:00 2001 From: Robin Eklind Date: Tue, 12 Nov 2019 16:36:30 -0600 Subject: [PATCH] d2enum: update readme to mention `go generate` (#133) --- d2common/d2enum/readme.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/d2common/d2enum/readme.md b/d2common/d2enum/readme.md index fb53b5c5..c5ce2e73 100644 --- a/d2common/d2enum/readme.md +++ b/d2common/d2enum/readme.md @@ -8,9 +8,9 @@ go get github.com/mewspring/tools/cmd/string2enum Once you have the tools installed, simply run the following command in this folder to regenerate the support files: ``` -generate +go generate ``` -If you add any new files, make sure to add the following to the end of the +If you add any enums (e.g. `AnimationMode`), make sure to add the following to the end of the file: ```go //go:generate stringer -linecomment -type AnimationMode