Documentation
¶
Index ¶
- Variables
- func GetBandMemberCurrent(bandID string, memberID string) (string, error)
- func GetBandMemberFounder(bandID string, memberID string) (string, error)
- func GetBandMemberInstrument(bandID string, memberID string, instrumentID string) (string, error)
- func GetBandMemberInstruments(bandID string, memberID string) ([]string, error)
- func GetBandMemberName(bandID string, memberID string) (string, error)
- func GetBandName(bandID string) (string, error)
- func GetBandNames() ([]string, error)
- func GetBandYear(bandID string) (string, error)
- type Band
- type Member
Constants ¶
This section is empty.
Variables ¶
var ( // ErrNotFound indicates the desired item was not found ErrNotFound = errors.New("not found") )
Functions ¶
func GetBandMemberCurrent ¶
GetBandMemberCurrent returns if the specified member is currently in the band
func GetBandMemberFounder ¶
GetBandMemberFounder returns if the specified member is a founder
func GetBandMemberInstrument ¶
GetBandMemberInstrument returns the instrument played by the specified member in the specified band
func GetBandMemberInstruments ¶
GetBandMemberInstruments returns the name of the specified member in the specified band
func GetBandMemberName ¶
GetBandMemberName returns the name of the specified member in the specified band
func GetBandName ¶
GetBandName returns the name of the specified band
func GetBandYear ¶
GetBandYear returns the year the specified band formed
Types ¶
type Band ¶
Band lists the members, name, and other info
type Member ¶
Member describes a band member
func GetBandMember ¶
GetBandMember returns the specified member in the specified band
func GetBandMembers ¶
GetBandMembers returns a list of members in the specified band