Allow renaming of extracted stats via tag.

This commit is contained in:
2023-04-04 12:14:04 -07:00
parent 99e372a4db
commit ad9e5764f1
2 changed files with 8 additions and 1 deletions

View File

@ -12,7 +12,7 @@ type SmokeTestCollection struct {
Flavor cardsim.Stored[string]
Things int `cardsim:"stat"`
Things int `cardsim:"stat" cardsim_name:"A Renamed Thing"`
MoreThings int `cardsim:"hidden"`
FloatyThings float64 `cardsim:"round1"`
Label string `cardsim:"stat"`