Add NewAlbumSearch Function

This commit is contained in:
Theresa Gresch 2020-01-27 16:53:09 +01:00
parent 98c63755b2
commit 868c7fb38c

View file

@ -22,3 +22,7 @@ func (f *AlbumSearch) SetQuery(q string) {
func (f *AlbumSearch) ParseQueryString() error {
return ParseQueryString(f)
}
func NewAlbumSearch(query string) AlbumSearch {
return AlbumSearch{Query: query}
}