Documentation
¶
Index ¶
- type ResAllocDM
- type ResAllocDirectDB
- func (rad ResAllocDirectDB) Insert(ra resAlloc.Record) (err error)
- func (rad ResAllocDirectDB) QueryAll() ([]resAlloc.Record, error)
- func (rad ResAllocDirectDB) QueryByID(recordID int) (rar resAlloc.Record, err error)
- func (rad ResAllocDirectDB) QueryByProjectID(projectID int) ([]resAlloc.Record, error)
- type ResAllocReadOnlyDM
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ResAllocDM ¶
type ResAllocDM interface { ResAllocReadOnlyDM Insert(record resAlloc.Record) (err error) }
type ResAllocDirectDB ¶
type ResAllocDirectDB struct {
// contains filtered or unexported fields
}
func NewResAllocDirectDB ¶
func NewResAllocDirectDB(radb resAllocDB.ResAllocDB) ResAllocDirectDB
func (ResAllocDirectDB) QueryAll ¶
func (rad ResAllocDirectDB) QueryAll() ([]resAlloc.Record, error)
func (ResAllocDirectDB) QueryByID ¶
func (rad ResAllocDirectDB) QueryByID(recordID int) (rar resAlloc.Record, err error)
func (ResAllocDirectDB) QueryByProjectID ¶
func (rad ResAllocDirectDB) QueryByProjectID(projectID int) ([]resAlloc.Record, error)
Click to show internal directories.
Click to hide internal directories.