aboutsummaryrefslogtreecommitdiffstats
path: root/api
diff options
context:
space:
mode:
authordeferdeter <deferdeter@outlook.com>2024-04-16 14:10:59 +0800
committerdeferdeter <deferdeter@outlook.com>2024-04-16 14:10:59 +0800
commitce7fd6fce6b275d3dc79fbab5711f64f34f495c8 (patch)
treeb37bd46d263113907952439f25c8ec30c98f0353 /api
parent4d4a4d5e85f0a7e650716ace996edcbe60bc571b (diff)
downloadgit-bug-ce7fd6fce6b275d3dc79fbab5711f64f34f495c8.tar.gz
chore: fix some struct names in comments
Signed-off-by: deferdeter <deferdeter@outlook.com>
Diffstat (limited to 'api')
-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