Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Kind ¶
type Kind int
func (Kind) MarshalJSON ¶
MarshalJSON implements the Marshaler interface.
func (*Kind) UnmarshalJSON ¶
UnmarshalJSON implements the Unmarshaler interface.
type Ship ¶
type Ship struct { Id string // unique identifier for ship or colony Kind Kind Location coordinates.Coordinates }
Ship is either a ship or a colony(?!!?).
Click to show internal directories.
Click to hide internal directories.