mirror of
https://github.com/OpenDiablo2/OpenDiablo2
synced 2025-02-20 07:27:19 -05:00
d2enum: update readme to mention go generate
(#133)
This commit is contained in:
parent
bdda07f7e5
commit
12f8ca1004
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user