Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddCommandBuilders ¶
func AddCommands ¶
func AppName ¶
func AppName() string
AppName is what the app will call itself. When customizing, overwrite it before calling Main().
func CheckCanCustomize ¶ added in v0.5.0
func CheckCanCustomize()
CheckCanCustomize panics if customizations have been locked down at this point in the app startup process.
Use this as a guard / assertion in functions that try to change customizations to ensure they are not called from the wrong place where they may be ineffectual or cause errors.
func CheckLockedDown ¶ added in v0.5.0
func CheckLockedDown()
CheckLockedDown panics if customizations have not been locked down at this point in the app startup process.
Use this as a guard / assertion in functions that put customizations into effect to ensure that they are not called from places where customizations may be modified later and thus break or prevent those future modifications.
func Commands ¶
Commands gets a list of additional commands to add to the fastcat.org/go/gdev/cmd/Root command during app startup.
This will panic if called during the customization phase before the main app startup.
To add custom commands, use AddCommandBuilders or AddCommands
func SetAppName ¶
func SetAppName(name string)
func VersionInfo ¶
func VersionInfo() versionInfo
Types ¶
This section is empty.