updated godoc comment
This commit is contained in:
parent
4c096fd745
commit
a998618d75
|
@ -16,7 +16,7 @@ func (dao *Dao) CollectionQuery() *dbx.SelectQuery {
|
||||||
return dao.ModelQuery(&models.Collection{})
|
return dao.ModelQuery(&models.Collection{})
|
||||||
}
|
}
|
||||||
|
|
||||||
// FindCollectionsByType finds all collections by the given type
|
// FindCollectionsByType finds all collections by the given type.
|
||||||
func (dao *Dao) FindCollectionsByType(collectionType string) ([]*models.Collection, error) {
|
func (dao *Dao) FindCollectionsByType(collectionType string) ([]*models.Collection, error) {
|
||||||
collections := []*models.Collection{}
|
collections := []*models.Collection{}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue