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