entc/gen: add missing braces in mutation template (#1014)

This commit is contained in:
BrentChesny
2020-12-04 07:02:52 +01:00
committed by GitHub
parent 12b7549768
commit 263bc0b08f
27 changed files with 80 additions and 80 deletions

View File

@@ -57,7 +57,7 @@ var _ ent.Mutation = (*GroupMutation)(nil)
// groupOption allows to manage the mutation configuration using functional options.
type groupOption func(*GroupMutation)
// newGroupMutation creates new mutation for $n.Name.
// newGroupMutation creates new mutation for Group.
func newGroupMutation(c config, op Op, opts ...groupOption) *GroupMutation {
m := &GroupMutation{
config: c,
@@ -502,7 +502,7 @@ var _ ent.Mutation = (*PetMutation)(nil)
// petOption allows to manage the mutation configuration using functional options.
type petOption func(*PetMutation)
// newPetMutation creates new mutation for $n.Name.
// newPetMutation creates new mutation for Pet.
func newPetMutation(c config, op Op, opts ...petOption) *PetMutation {
m := &PetMutation{
config: c,
@@ -956,7 +956,7 @@ var _ ent.Mutation = (*UserMutation)(nil)
// userOption allows to manage the mutation configuration using functional options.
type userOption func(*UserMutation)
// newUserMutation creates new mutation for $n.Name.
// newUserMutation creates new mutation for User.
func newUserMutation(c config, op Op, opts ...userOption) *UserMutation {
m := &UserMutation{
config: c,