You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

9 lines
322 B

  1. package models
  2. import "gopkg.in/mgo.v2/bson"
  3. type SolarSystem struct {
  4. Id bson.ObjectId `json:"id" bson:"_id,omitempty"`
  5. Position int64 // position of the solar system in the galaxy, the maximum position is GALAXYSIZE-1
  6. Planets []string // array with ids of the planets, if empty is equal to ""
  7. }