dao

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

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

Go to latest
Published: Jun 7, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Dao

type Dao struct {
	// contains filtered or unexported fields
}

type PostDao

type PostDao struct {
	Dao
}

func Post

func Post(db *gorm.DB) *PostDao

func (PostDao) Get

func (dao PostDao) Get(id int32) (*entity.ZbpPost, error)

func (PostDao) GetList

func (dao PostDao) GetList() ([]entity.ZbpPost, error)

Jump to

Keyboard shortcuts

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