restructure domain-presenter relation

This commit is contained in:
2023-06-30 17:14:08 +02:00
parent bab177a71d
commit bd63d00ad9
5 changed files with 37 additions and 40 deletions

View File

@@ -1,11 +1,11 @@
package domain
type User struct {
name string
Name string
}
type Player struct {
name string
Name string
}
type GameField struct {
@@ -24,10 +24,3 @@ type Context struct {
CurrentGameField GameField
CurrentPosition Position
}
func CreateContext() Context {
return Context{
Player: Player{},
User: User{},
}
}