Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IPlayerRepository ¶
type IPlayerRepository interface { StorePlayer(models.Player) (models.Player, error) GetPlayer(int) (models.Player, error) }
IPlayerRepository is
type PlayerRepository ¶
type PlayerRepository struct {
DB infrastructures.ISQLConnection
}
PlayerRepository is
func (*PlayerRepository) GetPlayer ¶
func (r *PlayerRepository) GetPlayer(ID int) (player models.Player, err error)
GetPlayer get agent type data by id
func (*PlayerRepository) StorePlayer ¶
StorePlayer store agent type data to database
Click to show internal directories.
Click to hide internal directories.