Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FindProjectRoot ¶
func FindProjectRootRelative ¶
Types ¶
type CodeGameFileData ¶
type CodeGameFileData struct {
Game string `json:"game"`
GameVersion string `json:"game_version,omitempty"`
Type string `json:"type"`
Lang string `json:"lang"`
LangConfig map[string]any `json:"lang_config,omitempty"`
URL string `json:"url,omitempty"`
}
func LoadCodeGameFile ¶
func LoadCodeGameFile(dir string) (*CodeGameFileData, error)
func (*CodeGameFileData) Write ¶
func (c *CodeGameFileData) Write(dir string) error
Click to show internal directories.
Click to hide internal directories.