Merge pull request #1147 from deferdeter/master

Michael Muré created

chore: fix some struct names in comments

Change summary

api/graphql/connections/connection_template.go | 2 +-
api/graphql/connections/gen_identity.go        | 2 +-
api/graphql/connections/gen_lazy_bug.go        | 2 +-
api/graphql/connections/gen_lazy_identity.go   | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)

Detailed changes

api/graphql/connections/connection_template.go 🔗

@@ -20,7 +20,7 @@ type EdgeType generic.Type
 // ConnectionType define the connection type handled by this relay connection
 type ConnectionType generic.Type
 
-// NodeTypeEdgeMaker define a function that take a NodeType and an offset and
+// NameEdgeMaker define a function that take a NodeType and an offset and
 // create an Edge.
 type NameEdgeMaker func(value NodeType, offset int) Edge
 

api/graphql/connections/gen_identity.go 🔗

@@ -10,7 +10,7 @@ import (
 	"github.com/MichaelMure/git-bug/api/graphql/models"
 )
 
-// ModelsIdentityWrapperEdgeMaker define a function that take a models.IdentityWrapper and an offset and
+// IdentityEdgeMaker define a function that take a models.IdentityWrapper and an offset and
 // create an Edge.
 type IdentityEdgeMaker func(value models.IdentityWrapper, offset int) Edge
 

api/graphql/connections/gen_lazy_bug.go 🔗

@@ -11,7 +11,7 @@ import (
 	"github.com/MichaelMure/git-bug/entity"
 )
 
-// EntityIdEdgeMaker define a function that take a entity.Id and an offset and
+// LazyBugEdgeMaker define a function that take a entity.Id and an offset and
 // create an Edge.
 type LazyBugEdgeMaker func(value entity.Id, offset int) Edge
 

api/graphql/connections/gen_lazy_identity.go 🔗

@@ -11,7 +11,7 @@ import (
 	"github.com/MichaelMure/git-bug/entity"
 )
 
-// EntityIdEdgeMaker define a function that take a entity.Id and an offset and
+// LazyIdentityEdgeMaker define a function that take a entity.Id and an offset and
 // create an Edge.
 type LazyIdentityEdgeMaker func(value entity.Id, offset int) Edge