db

package
v0.0.0-...-252cfec Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2019 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ResRd

type ResRd struct {
	domain.ActiveRecord
}

func QueryFirstRes

func QueryFirstRes(sql string, args ...interface{}) (*ResRd,
	error)

func (*ResRd) GetID

func (rd *ResRd) GetID() (string, error)

func (*ResRd) GetInfo

func (rd *ResRd) GetInfo() (string, error)

func (*ResRd) GetName

func (rd *ResRd) GetName() (string, error)

func (*ResRd) SetID

func (rd *ResRd) SetID(v string) error

func (*ResRd) SetInfo

func (rd *ResRd) SetInfo(v string) error

func (*ResRd) SetName

func (rd *ResRd) SetName(v string) error

type ResRdList

type ResRdList []*ResRd

func QueryRes

func QueryRes(sql string, args ...interface{}) (ResRdList,
	error)

type TagRd

type TagRd struct {
	domain.ActiveRecord
}

func QueryFirstTag

func QueryFirstTag(sql string, args ...interface{}) (*TagRd,
	error)

func (*TagRd) GetID

func (rd *TagRd) GetID() (string, error)

func (*TagRd) GetRes

func (rd *TagRd) GetRes() (string, error)

func (*TagRd) GetTag

func (rd *TagRd) GetTag() (string, error)

func (*TagRd) SetID

func (rd *TagRd) SetID(v string) error

func (*TagRd) SetRes

func (rd *TagRd) SetRes(v string) error

func (*TagRd) SetTag

func (rd *TagRd) SetTag(v string) error

type TagRdList

type TagRdList []*TagRd

func QueryTag

func QueryTag(sql string, args ...interface{}) (TagRdList,
	error)

Jump to

Keyboard shortcuts

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