package
Version:
v1.0.1
Opens a new window with list of versions in this module.
Published: Apr 12, 2022
License: Apache-2.0
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
BaseMixin for all schemas.
Shared policy for all schemas.
type Task struct {
ent.Schema
}
Task defines the schema of a task.
func (Task) Edges() []ent.Edge
Edges of the task.
func (Task) Fields() []ent.Field
Fields of the task.
func (Task) Hooks() []ent.Hook
Hooks for the task.
func (Task) Mixin() []ent.Mixin
Mixin list of schemas to the task.
func (Task) Policy() ent.Policy
Policy of the task.
type Team struct {
ent.Schema
}
Team defines the schema of a team.
func (Team) Edges() []ent.Edge
Edges of the team.
func (Team) Fields() []ent.Field
Fields of the team.
func (Team) Mixin() []ent.Mixin
Mixin list of schemas to the team.
func (Team) Policy() ent.Policy
Policy of the team.
TeamMixin shared between task and user.
Policy of the team-mixin.
type User struct {
ent.Schema
}
User defines the schema of a user.
func (User) Edges() []ent.Edge
Edges of the user.
func (User) Fields() []ent.Field
Fields of the user.
func (User) Mixin() []ent.Mixin
Mixin list of schemas to the user.
func (User) Policy() ent.Policy
Policy of the user.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.