feat(i18n): integrate i18next for internationalization support and add initial translation setup
This commit is contained in:
15
internal/model/hero_template.go
Normal file
15
internal/model/hero_template.go
Normal file
@@ -0,0 +1,15 @@
|
||||
package model
|
||||
|
||||
// HeroTemplate represents template hero data from herodata.json.
|
||||
type HeroTemplate struct {
|
||||
Code string `json:"code"`
|
||||
Name string `json:"name"`
|
||||
BaseAtk float64 `json:"baseAtk"`
|
||||
BaseDef float64 `json:"baseDef"`
|
||||
BaseHp float64 `json:"baseHp"`
|
||||
BaseSpd float64 `json:"baseSpd"`
|
||||
BaseCr float64 `json:"baseCr"`
|
||||
BaseCd float64 `json:"baseCd"`
|
||||
BaseEff float64 `json:"baseEff"`
|
||||
BaseRes float64 `json:"baseRes"`
|
||||
}
|
||||
Reference in New Issue
Block a user