fix gofmt warning

This commit is contained in:
Daniel Lee
2018-01-09 14:44:36 +01:00
parent 3ae1bf0c16
commit b7f023bc26
+1 -1
View File
@@ -192,7 +192,7 @@ func (repo *fakeAnnotationsRepo) Update(item *annotations.Item) error {
return nil
}
func (repo *fakeAnnotationsRepo) Find(query *annotations.ItemQuery) ([]*annotations.ItemDTO, error) {
annotations := []*annotations.ItemDTO{&annotations.ItemDTO{Id: 1}}
annotations := []*annotations.ItemDTO{{Id: 1}}
return annotations, nil
}