17 lines
244 B
Go
17 lines
244 B
Go
package models
|
|
|
|
import (
|
|
"time"
|
|
)
|
|
|
|
type Action struct {
|
|
ActionID int64
|
|
ActionDescription string
|
|
CreatedAt time.Time
|
|
UpdatedAt time.Time
|
|
}
|
|
|
|
func (m *Model) Actions() ([]*Action, error) {
|
|
return m.SelectActions()
|
|
}
|