Files
gogame/models/planet.go
2019-06-13 22:41:47 +02:00

11 lines
206 B
Go

package models
import "gopkg.in/mgo.v2/bson"
type Planet struct {
Id bson.ObjectId `json:"id", bson:"_id, omitempty"`
Size int64 // fields/slots
Name string
OwnerId bson.ObjectId
}