Documentation ¶
Index ¶
- Variables
- type Database
- func (d *Database) CreateAction(in *pb.Action) (*pb.Action, error)
- func (d *Database) CreateOccurrence(actionId int64, date time.Time, data string) (*pb.Occurrence, error)
- func (d *Database) ReadActionByID(id int64) (*pb.Action, error)
- func (d *Database) ReadActionByNameAndUserID(name string, userID int64) (*pb.Action, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var DatetimeFormat = "2006-01-02 15:04:05"
Functions ¶
This section is empty.
Types ¶
type Database ¶
type Database struct {
// contains filtered or unexported fields
}
func (*Database) CreateOccurrence ¶
Click to show internal directories.
Click to hide internal directories.