Documentation ¶
Index ¶
- type Clause
- type Database
- func (d *Database) Close() error
- func (d *Database) Delete(path string) error
- func (d *Database) Each(f func(Song) error, qs ...Clause) error
- func (d *Database) Insert(song Song) error
- func (d *Database) IsStale(path string, modtime time.Time) bool
- func (d *Database) Move(oldPath, newPath string) error
- type GreaterThanClause
- type LessThanClause
- type PrefixClause
- type Song
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GreaterThanClause ¶
type GreaterThanClause struct { Col string Val interface{} }
func (GreaterThanClause) Arg ¶
func (q GreaterThanClause) Arg() interface{}
func (GreaterThanClause) Clause ¶
func (q GreaterThanClause) Clause() string
type LessThanClause ¶
type LessThanClause struct { Col string Val interface{} }
func (LessThanClause) Arg ¶
func (q LessThanClause) Arg() interface{}
func (LessThanClause) Clause ¶
func (q LessThanClause) Clause() string
type PrefixClause ¶
type PrefixClause struct {
Col, Val string
}
func (PrefixClause) Arg ¶
func (q PrefixClause) Arg() interface{}
func (PrefixClause) Clause ¶
func (q PrefixClause) Clause() string
Click to show internal directories.
Click to hide internal directories.