aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2024-04-16 09:05:18 +0200
committerGitHub <noreply@github.com>2024-04-16 09:05:18 +0200
commit681ca6e716c21ebb6421c09f0a2176bf393ab21f (patch)
treeb37bd46d263113907952439f25c8ec30c98f0353
parent4d4a4d5e85f0a7e650716ace996edcbe60bc571b (diff)
parentce7fd6fce6b275d3dc79fbab5711f64f34f495c8 (diff)
downloadgit-bug-681ca6e716c21ebb6421c09f0a2176bf393ab21f.tar.gz
Merge pull request #1147 from deferdeter/master
chore: fix some struct names in comments
-rw-r--r--api/graphql/connections/connection_template.go2
-rw-r--r--api/graphql/connections/gen_identity.go2
-rw-r--r--api/graphql/connections/gen_lazy_bug.go2
-rw-r--r--api/graphql/connections/gen_lazy_identity.go2
4 files changed, 4 insertions, 4 deletions
diff --git a/api/graphql/connections/connection_template.go b/api/graphql/connections/connection_template.go
index 935a0a77..037c3da5 100644
--- a/api/graphql/connections/connection_template.go
+++ b/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
diff --git a/api/graphql/connections/gen_identity.go b/api/graphql/connections/gen_identity.go
index 2138b17e..28a2b019 100644
--- a/api/graphql/connections/gen_identity.go
+++ b/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
diff --git a/api/graphql/connections/gen_lazy_bug.go b/api/graphql/connections/gen_lazy_bug.go
index 1dc4692e..a1f06a0e 100644
--- a/api/graphql/connections/gen_lazy_bug.go
+++ b/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
diff --git a/api/graphql/connections/gen_lazy_identity.go b/api/graphql/connections/gen_lazy_identity.go
index 4996e219..64ce5f4b 100644
--- a/api/graphql/connections/gen_lazy_identity.go
+++ b/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