Documentation ¶
Index ¶
- func ConverDateTime(tz string, dt time.Time) string
- func ConvertDateTime(tz string, dt time.Time) string
- type Player
- type ServicesPlayer
- func (sp *ServicesPlayer) CheckEmail(email string) (Player, error)
- func (sp *ServicesPlayer) CreatePlayer(p Player) error
- func (sp *ServicesPlayer) GetAllPlayers() ([]*Player, error)
- func (sp *ServicesPlayer) GetPlayerById(id int) (Player, error)
- func (sp *ServicesPlayer) UpdatePlayer(player Player) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ServicesPlayer ¶
func NewServicesPlayer ¶
func NewServicesPlayer(p Player, db *gorm.DB) *ServicesPlayer
func (*ServicesPlayer) CheckEmail ¶
func (sp *ServicesPlayer) CheckEmail(email string) (Player, error)
func (*ServicesPlayer) CreatePlayer ¶
func (sp *ServicesPlayer) CreatePlayer(p Player) error
func (*ServicesPlayer) GetAllPlayers ¶
func (sp *ServicesPlayer) GetAllPlayers() ([]*Player, error)
func (*ServicesPlayer) GetPlayerById ¶
func (sp *ServicesPlayer) GetPlayerById(id int) (Player, error)
func (*ServicesPlayer) UpdatePlayer ¶
func (sp *ServicesPlayer) UpdatePlayer(player Player) error
Click to show internal directories.
Click to hide internal directories.