Renamed Id to ID, following GoLang convention

This commit is contained in:
Deluan
2020-01-09 23:33:01 -05:00
committed by Deluan Quintão
parent 018352463f
commit 40904b220e
35 changed files with 122 additions and 122 deletions
+2 -2
View File
@@ -24,7 +24,7 @@ func TestIndexRepository(t *testing.T) {
So(s, shouldBeEqual, i)
})
Convey("It should be able to check for existence of an Id", func() {
Convey("It should be able to check for existence of an ID", func() {
i := &domain.ArtistIndex{Id: "123"}
repo.Put(i)
@@ -35,7 +35,7 @@ func TestIndexRepository(t *testing.T) {
s, _ = repo.Exists("NOT_FOUND")
So(s, ShouldBeFalse)
})
Convey("Method Put() should return error if Id is not set", func() {
Convey("Method Put() should return error if ID is not set", func() {
i := &domain.ArtistIndex{}
err := repo.Put(i)