mirror of
https://github.com/arnaucube/gogame.git
synced 2026-02-07 19:46:39 +01:00
initial structure
This commit is contained in:
18
models/user.go
Normal file
18
models/user.go
Normal file
@@ -0,0 +1,18 @@
|
||||
package models
|
||||
|
||||
type Resource struct {
|
||||
Value int64
|
||||
Max int64
|
||||
}
|
||||
|
||||
type User struct {
|
||||
Id string
|
||||
Name string
|
||||
Email string
|
||||
Resources struct {
|
||||
Metal Resource
|
||||
Crystal Resource
|
||||
Deuterium Resource
|
||||
Energy Resource
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user