Documentation
¶
Index ¶
Constants ¶
View Source
const ( Version = "1.0" StandVersion = "1.0" AbleHotUpdate = false )
View Source
const ( ECSF1Json string = `` /* 863-byte string literal not displayed */ ECST1Json string = `` /* 202-byte string literal not displayed */ TmplJson string = `` /* 141-byte string literal not displayed */ )
View Source
const StatustypeAchieve = 0
View Source
const StatustypeActive = 1
View Source
const StatustypeCBT = 114233 // close beta test
View Source
const StatustypeDebug = 2
View Source
const StatustypeDelete = 404 // Just 404
View Source
const StatustypeFixing = 502 // just 503
View Source
const StatustypeHold = 128
View Source
const StatustypePBT = 114514 // public beta test
View Source
const StatustypePause = 1409 // just
View Source
const StatustypePreRelease = 4
View Source
const StatustypeRelease = 3
View Source
const StatustypeRewrite = 233 //
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ECSFProject ¶
type ECSFProject struct { Game struct { Name string `json:"name"` Repo string `json:"repo"` GoVersion string `json:"go-version"` EbitenVersion string `json:"ebiten-version"` Type string `json:"type"` Version string `json:"version"` Language []string `json:"language"` } `json:"game"` Dev struct { Author []string `json:"author"` Translator map[string]string `json:"translator"` Constructor map[string]string `json:"constructor"` Developer map[string]string `json:"developer"` Contributor []string `json:"contributor"` Use []string `json:"use"` Thanks []string `json:"thanks"` } `json:"dev"` Project struct { Cli struct { Autorewrite bool `json:"autorewrite"` Hotupdate bool `json:"hotupdate"` Autogomod bool `json:"autogomod"` Autogofmt bool `json:"autogofmt"` } `json:"cli"` Cgo bool `json:"cgo"` Makefile string `json:"makefile"` Statustype int `json:"statustype"` CliVersion string `json:"cli-version"` Standard string `json:"standard"` } `json:"project"` }
func NewECSFProjectFromJSON ¶
func NewECSFProjectFromJSON(jsonc []byte) (ECSFProject, error)
func (ECSFProject) ReadFromJSON ¶
func (p ECSFProject) ReadFromJSON(jsonc []byte) error
func (ECSFProject) SaveToJSON ¶
func (p ECSFProject) SaveToJSON() ([]byte, error)
type ECSTProject ¶
type ECSTProject struct { Game struct { Name string `json:"name"` Repo string `json:"repo"` Type string `json:"type"` } `json:"game"` Project struct { Statustype int `json:"statustype"` CliVersion string `json:"cli-version"` Standard string `json:"standard"` } `json:"project"` }
func NewECSTProjectFromJSON ¶
func NewECSTProjectFromJSON(jsonc []byte) (ECSTProject, error)
func (ECSTProject) ReadFromJSON ¶
func (p ECSTProject) ReadFromJSON(jsonc []byte) error
func (ECSTProject) SaveToJSON ¶
func (p ECSTProject) SaveToJSON() ([]byte, error)
Click to show internal directories.
Click to hide internal directories.