persistence

package
v0.8.10 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 26, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HasBeenFound

func HasBeenFound(err error) model.Found

HasBeenFound returns false if error is a gorm.ErrRecordNotFound error

func NewGameRepository

func NewGameRepository(db *gorm.DB) model.GameRepository

NewGameRepository creats new repository

func NewPlayerRepository

func NewPlayerRepository(db *gorm.DB) model.PlayerRepository

NewPlayerRepository creats new repository

func NewTableRepository

func NewTableRepository(db *gorm.DB) model.TableRepository

NewTableRepository creats new repository

func NewTournamentRepository

func NewTournamentRepository(db *gorm.DB) model.TournamentRepository

NewTournamentRepository creats new repository

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL