mirror of
https://github.com/arnaucube/gogame.git
synced 2026-02-07 19:46:39 +01:00
add CreatePlanet and put planet in solar system
This commit is contained in:
@@ -1,12 +1,14 @@
|
||||
package models
|
||||
|
||||
import "gopkg.in/mgo.v2/bson"
|
||||
|
||||
type Resource struct {
|
||||
Value int64
|
||||
Max int64
|
||||
}
|
||||
|
||||
type User struct {
|
||||
Id string
|
||||
Id bson.ObjectId `json:"id" bson:"_id,omitempty"`
|
||||
Name string
|
||||
Password string
|
||||
Email string
|
||||
|
||||
Reference in New Issue
Block a user