db

package
v0.0.0-...-2dc3d54 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DBLayer

type DBLayer interface {
	CreateUser(userModel.User) error
}

type DBORM

type DBORM struct {
	*gorm.DB
}

func Connect

func Connect() (*DBORM, error)

func (*DBORM) CreateUser

func (db *DBORM) CreateUser(user userModel.User) error

Jump to

Keyboard shortcuts

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