Chore: Replace util.DynMap with structs (#36332)
* Chore: Replace util.DynMap * Chore: added comments
This commit is contained in:
@@ -298,7 +298,7 @@ func (r *SQLAnnotationRepo) FindTags(query *annotations.TagsQuery) (annotations.
|
||||
sql.WriteString(` ORDER BY ` + tagKey + `,` + tagValue)
|
||||
sql.WriteString(` ` + dialect.Limit(query.Limit))
|
||||
|
||||
var items []*annotations.Tags
|
||||
var items []*annotations.Tag
|
||||
if err := x.SQL(sql.String(), params...).Find(&items); err != nil {
|
||||
return annotations.FindTagsResult{Tags: []*annotations.TagsDTO{}}, err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user