Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateTicTacToeBoard ¶
func CreateTicTacToeBoard(state State) *tictactoe.TicTacToe
Types ¶
type State ¶
type State struct { StateID string `db:"state_id"` State string `db:"state"` TurnID string `db:"turn"` Mode string `db:"mode"` FirstUserID string `db:"first_user_id"` SecondUserID string `db:"second_user_id"` ParentID string `db:"parent_state_id"` Created time.Time `db:"created_at"` }
func CreateStateFromBoard ¶
Click to show internal directories.
Click to hide internal directories.