Browse Source

fix gofmt warning

Daniel Lee 8 years ago
parent
commit
b7f023bc26
1 changed files with 1 additions and 1 deletions
  1. 1 1
      pkg/api/annotations_test.go

+ 1 - 1
pkg/api/annotations_test.go

@@ -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
 }