gogmagog/models/action.go
Deepak 2c5e84d836
All checks were successful
gitea-deepak/gogmagog/pipeline/head This commit looks good
adds create and update time to actions
2020-12-26 15:04:51 -06:00

17 lines
207 B
Go

package models
import (
"time"
)
type Action struct {
ID int64
Description string
CreatedAt time.Time
UpdatedAt time.Time
}
func (m *Model) Actions() ([]*Action, error) {
return m.SelectActions()
}