repository

package
v0.0.0-...-920ada6 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2019 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAdminRepository

func NewAdminRepository() admin.Repository

NewAdminRepository will create new an AdminRepository object representation of admin.Repository interface

Types

type AdminRepository

type AdminRepository struct {
}

AdminRepository repository

func (*AdminRepository) GetByID

func (r *AdminRepository) GetByID(id string) (data interface{}, err error)

GetByID will get data by ID

func (*AdminRepository) SaveUser

func (r *AdminRepository) SaveUser(user *model.User) error

SaveUser will save user

Jump to

Keyboard shortcuts

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