소스 검색

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
 }