Documentation ¶
Overview ¶
Package audiofile provides data structures and behaviours for audiofile.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Artist ¶
type Artist struct { Name string `json:"name"` //Albums []Album `json:"albums"` Status string `json:"status"` ID string `json:"id"` }
Artist is a house for all data related to a specific Artist.
type Directory ¶
type Directory struct { DateAdded time.Time `json:"date_added" db:"date_added"` DateUpdated time.Time `json:"date_updated" db:"date_updated"` Directory string `json:"directory"` ID string `json:"id"` }
Directory defines a location from which files will be discovered.
func (Directory) GenerateID ¶
GenerateID will provide a generated UUIDv4 value to the ID attribute if the attribute does not already have a value.
func (Directory) MaybeFirstTime ¶
MaybeFirstTime will determine if this directory is being manipulated for the first time, and if so, set additional fields.
Directories ¶
Path | Synopsis |
---|---|
Package main provides the binary for audiofile orchestrating and running the server.
|
Package main provides the binary for audiofile orchestrating and running the server. |
Package data provides abstraction for interacting with the data store of choice.
|
Package data provides abstraction for interacting with the data store of choice. |
Click to show internal directories.
Click to hide internal directories.