examples/privacy: adminonly application example (#840)

This commit is contained in:
Ariel Mashraki
2020-10-12 12:13:53 +03:00
committed by GitHub
parent 58ce4e75b4
commit 190ef15f4e
27 changed files with 3825 additions and 0 deletions

View 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)