Documentation
¶
Index ¶
- func Fetch(url string) []byte
- func GetBundleLoader(source fs.FS, newHashFunc bool) (fs.FS, error)
- func LoadParser(gameVersion string)
- func LoadSchema(gameVersion string)
- func ParseDat(data io.Reader, filename string) ([]interface{}, error)
- type Column
- type Enumeration
- type File
- type References
- type SchemaFile
- type Table
- type Type
- type WebFS
- type WebFile
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadParser ¶
func LoadParser(gameVersion string)
func LoadSchema ¶
func LoadSchema(gameVersion string)
Types ¶
type Column ¶
type Column struct {
Until interface{} `json:"until"`
Name *string `json:"name"`
Description *string `json:"description"`
References *References `json:"references"`
File *string `json:"file"`
Type Type `json:"type"`
Files []File `json:"files"`
Array bool `json:"array"`
Unique bool `json:"unique"`
Localized bool `json:"localized"`
}
type Enumeration ¶
type References ¶
type SchemaFile ¶
type SchemaFile struct {
Tables []Table `json:"tables"`
Enumerations []Enumeration `json:"enumerations"`
Version int64 `json:"version"`
CreatedAt int64 `json:"createdAt"`
}
type Table ¶
func (Table) ToJSONFormat ¶
func (t Table) ToJSONFormat() dat.JsonFormat
Click to show internal directories.
Click to hide internal directories.