// newScopeMutation creates new mutation for the Scope entity.
newScopeMutation creates new mutation for the Scope entity.
// newScopeMutation creates new mutation for the Scope entity .
func newScopeMutation(c config, op Op, opts ...scopeOption) *ScopeMutation {
	m := &ScopeMutation{
		config:        c,
		op:            op,
		typ:           TypeScope,
		clearedFields: make(map[string]struct{}),
	}
	for _, opt := range opts {
		opt(m)
	}
	return m
}
func newScopeMutation ( c config , op Op , opts ... scopeOption ) * ScopeMutation { m := & ScopeMutation { config : c , op : op , typ : TypeScope , clearedFields : make ( map [ string ] struct { } ) , } for _ , opt := range opts { opt ( m ) } return m }
newScopeMutation creates new mutation for the Scope entity.
newScopeMutation creates new mutation for the Scope entity .