mirror of
https://github.com/ent/ent.git
synced 2026-05-24 09:31:56 +03:00
examples/privacy: adminonly application example (#840)
This commit is contained in:
14
examples/privacyadmin/ent/predicate/predicate.go
Normal file
14
examples/privacyadmin/ent/predicate/predicate.go
Normal file
@@ -0,0 +1,14 @@
|
||||
// Copyright 2019-present Facebook Inc. All rights reserved.
|
||||
// This source code is licensed under the Apache 2.0 license found
|
||||
// in the LICENSE file in the root directory of this source tree.
|
||||
|
||||
// Code generated by entc, DO NOT EDIT.
|
||||
|
||||
package predicate
|
||||
|
||||
import (
|
||||
"github.com/facebook/ent/dialect/sql"
|
||||
)
|
||||
|
||||
// User is the predicate function for user builders.
|
||||
type User func(*sql.Selector)
|
||||
Reference in New Issue
Block a user