Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetDeathStarConfigFromFile ¶
func GetDeathStarConfigFromFile()
func GetDeathStarConfigWithEnvs ¶
func GetDeathStarConfigWithEnvs()
func GetPlanetParams ¶
func GetPlanetParams()
func GetPlanetParamsWithoutRequired ¶
func GetPlanetParamsWithoutRequired()
Types ¶
type Coordinate ¶
type DeathStarConfig ¶
type DeathStarConfig struct {
TargetPlanet PlanetParams
CommanderName string `env:"COMMANDER_NAME"`
ShootPosition Coordinate `env:"SHOOT_POSITION"`
}
type PlanetParams ¶
Click to show internal directories.
Click to hide internal directories.