types

package
v0.0.0-...-af59c4b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 13, 2019 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PlanetUnknown        PlanetType = "unknown"           // unknown planet type
	PlanetRock           PlanetType = "rock"              // callisto
	PlanetVenusian       PlanetType = "vebusian"          // venuslike
	PlanetTerrestrial    PlanetType = "terrestrial"       // Earthlike
	PlanetGasGiant       PlanetType = "gas-gaint"         // jupiterlike Jovian
	PlanetMartian        PlanetType = "martian"           // planet like mars
	PlanetWater          PlanetType = "water"             // planet with >95% water on the surface
	PlanetIce            PlanetType = "ice"               // pluto
	PlanetSubGasGiant    PlanetType = "sub-gas-gaint"     // gasgiant Sub-Jovian
	PlanetSubSubGasGiant PlanetType = "sub-sub-gas-gaint" // GasDwarf
	PlanetAsteroids      PlanetType = "asteroids"
	Planet1Face          PlanetType = "face"
	PlanetBrownDwarf     PlanetType = "brown-dwarf"
	PlanetIron           PlanetType = "iron"
	PlanetCarbon         PlanetType = "carbon"
	PlanetOil            PlanetType = "oil"

	Orbit1 OrbitZone = 1
	Orbit2 OrbitZone = 2
	Orbit3 OrbitZone = 3
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AtmosphereType

type AtmosphereType string
const (
	None         AtmosphereType = "none"
	Toxic        AtmosphereType = "toxic"
	Breathable   AtmosphereType = "breathable"
	Unbreathable AtmosphereType = "unbreathable"
)

type Gas

type Gas struct {
	Num             int64   `json:"num"`
	Name            string  `json:"name"`
	SurfacePressure float64 `json:"surfacePressure"`
}

type OrbitZone

type OrbitZone int

type PlanetType

type PlanetType string

type SuduskyClass

type SuduskyClass string
const (
	GasGiantClassI    SuduskyClass = "I"
	GasGiantClassII   SuduskyClass = "II"
	GasGiantClassIII  SuduskyClass = "III"
	GasGiantClassIV   SuduskyClass = "IV"
	GasGiantClassV    SuduskyClass = "V"
	GasGiantClassNone SuduskyClass = "none"
)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL