// newFactMutation creates new mutation for the Fact entity.
newFactMutation creates new mutation for the Fact entity.
// newFactMutation creates new mutation for the Fact entity .
func newFactMutation(c config, op Op, opts ...factOption) *FactMutation {
	m := &FactMutation{
		config:        c,
		op:            op,
		typ:           TypeFact,
		clearedFields: make(map[string]struct{}),
	}
	for _, opt := range opts {
		opt(m)
	}
	return m
}
func newFactMutation ( c config , op Op , opts ... factOption ) * FactMutation { m := & FactMutation { config : c , op : op , typ : TypeFact , clearedFields : make ( map [ string ] struct { } ) , } for _ , opt := range opts { opt ( m ) } return m }
newFactMutation creates new mutation for the Fact entity.
newFactMutation creates new mutation for the Fact entity .