db

package
v0.0.0-...-798d316 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

type Manager interface {
	CreateFrame(frame *model.Frame) error
	UpdateFrame(frame *model.Frame) error
	DeleteFrame(frame *model.Frame) error
	FindFramesByProject(project *model.Project) (frames []model.Frame, err error)
	FindFrameByActive(active bool) (frame *model.Frame, err error)

	CreateProject(project *model.Project) error
	UpdateProject(project *model.Project) error
	DeleteProject(project *model.Project) error
	FindProjects() (projects []model.Project, err error)
	FindProjectByName(name string) (project *model.Project, err error)
	FindProjectsByActive(active bool) (projects []model.Project, err error)

	CreateTag(tag *model.Tag) error
	UpdateTag(tag *model.Tag) error
	DeleteTag(tag *model.Tag) error
	FindTags() (tags []model.Tag, err error)
	FindTagByName(name string) (tag *model.Tag, err error)
	FindTagsByProject(project *model.Project) (tags []model.Tag, err error)
}
var Mgr Manager

Jump to

Keyboard shortcuts

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