account_repository

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccountRepository

type AccountRepository struct{}

func NewAccountRepository

func NewAccountRepository() *AccountRepository

func (*AccountRepository) Create

func (a *AccountRepository) Create(db *gorm.DB, model *dbArgs.Account) (int64, error)

func (*AccountRepository) GetOne

func (a *AccountRepository) GetOne(db *gorm.DB, conditions map[string]interface{}) (*dbArgs.Account, error)

Jump to

Keyboard shortcuts

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