فهرست منبع

fix gofmt warning

Daniel Lee 8 سال پیش
والد
کامیت
b7f023bc26
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  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
 }