// withAPIAudit sets the old APIAudit of the mutation.
withAPIAudit sets the old APIAudit of the mutation.
// withAPIAudit sets the old APIAudit of the mutation .
func withAPIAudit(node *APIAudit) apiauditOption {
	return func(m *APIAuditMutation) {
		m.oldValue = func(context.Context) (*APIAudit, error) {
			return node, nil
		}
		m.id = &node.ID
	}
}
func withAPIAudit ( node * APIAudit ) apiauditOption { return func ( m * APIAuditMutation ) { m . oldValue = func ( context . Context ) ( * APIAudit , error ) { return node , nil } m . id = & node . ID } }
withAPIAudit sets the old APIAudit of the mutation.
withAPIAudit sets the old APIAudit of the mutation .