Skip to content

Commit

Permalink
Merge pull request #1147 from deferdeter/master
Browse files Browse the repository at this point in the history
chore: fix some struct names in comments
  • Loading branch information
MichaelMure committed Apr 16, 2024
2 parents 4d4a4d5 + ce7fd6f commit 681ca6e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion api/graphql/connections/connection_template.go
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion api/graphql/connections/gen_identity.go
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion api/graphql/connections/gen_lazy_bug.go
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion api/graphql/connections/gen_lazy_identity.go
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 681ca6e

Please sign in to comment.