From ce7fd6fce6b275d3dc79fbab5711f64f34f495c8 Mon Sep 17 00:00:00 2001 From: deferdeter Date: Tue, 16 Apr 2024 14:10:59 +0800 Subject: chore: fix some struct names in comments Signed-off-by: deferdeter --- 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(-) 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 -- cgit