restore Unit.Buildtime type to float64

This commit is contained in:
Dawid Wysokiński 2020-06-19 19:04:30 +02:00
parent 8109f286e3
commit 9ae1e58e71
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@ import "encoding/xml"
type Unit struct {
Text string `xml:",chardata" json:"-" gqlgen:"text"`
BuildTime int `xml:"build_time" json:"build_time" gqlgen:"buildTime"`
BuildTime float64 `xml:"build_time" json:"build_time" gqlgen:"buildTime"`
Pop int `xml:"pop" json:"pop" gqlgen:"pop"`
Speed float64 `xml:"speed" json:"speed" gqlgen:"speed"`
Attack int `xml:"attack" json:"attack" gqlgen:"attack"`