chore: fix some struct names in comments

Signed-off-by: deferdeter <deferdeter@outlook.com>
This commit is contained in:
deferdeter 2024-04-16 14:10:59 +08:00
parent 4d4a4d5e85
commit ce7fd6fce6
4 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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