Add NewAlbumSearch Function
This commit is contained in:
parent
98c63755b2
commit
868c7fb38c
1 changed files with 4 additions and 0 deletions
|
@ -22,3 +22,7 @@ func (f *AlbumSearch) SetQuery(q string) {
|
||||||
func (f *AlbumSearch) ParseQueryString() error {
|
func (f *AlbumSearch) ParseQueryString() error {
|
||||||
return ParseQueryString(f)
|
return ParseQueryString(f)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func NewAlbumSearch(query string) AlbumSearch {
|
||||||
|
return AlbumSearch{Query: query}
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue