Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PushedRelease ¶
type PushedRelease struct {
Id int `storm:"id,increment"`
Name string
TrackerName string
PvrName string
Approved bool
CreatedAt time.Time
}
func GetLatestApprovedReleases ¶
func GetLatestApprovedReleases(db *storm.DB, count int) []*PushedRelease
func GetLatestPushedReleases ¶
func GetLatestPushedReleases(db *storm.DB, count int) []*PushedRelease
func NewPushedRelease ¶
func NewPushedRelease(db *storm.DB, name string, trackerName string, pvrName string, approved bool) (*PushedRelease, error)
Methods
func (PushedRelease) DurationSinceCreated ¶
func (r PushedRelease) DurationSinceCreated() string
Struct Methods
Click to show internal directories.
Click to hide internal directories.