mirror of
https://github.com/safedep/vet.git
synced 2025-12-10 00:22:08 -06:00
21 lines
748 B
Go
21 lines
748 B
Go
// Code generated by ent, DO NOT EDIT.
|
|
|
|
package ent
|
|
|
|
import (
|
|
"github.com/safedep/vet/ent/codesourcefile"
|
|
"github.com/safedep/vet/ent/schema"
|
|
)
|
|
|
|
// The init function reads all schema descriptors with runtime code
|
|
// (default values, validators, hooks and policies) and stitches it
|
|
// to their package variables.
|
|
func init() {
|
|
codesourcefileFields := schema.CodeSourceFile{}.Fields()
|
|
_ = codesourcefileFields
|
|
// codesourcefileDescPath is the schema descriptor for path field.
|
|
codesourcefileDescPath := codesourcefileFields[0].Descriptor()
|
|
// codesourcefile.PathValidator is a validator for the "path" field. It is called by the builders before save.
|
|
codesourcefile.PathValidator = codesourcefileDescPath.Validators[0].(func(string) error)
|
|
}
|