mirror of
https://github.com/ent/ent.git
synced 2026-05-24 09:31:56 +03:00
entc/gen: fix DependencyName godoc (#2094)
This commit is contained in:
committed by
GitHub
parent
51b63c17c0
commit
681d03e896
@@ -304,7 +304,7 @@ func DependencyTypeInfo(t *field.TypeInfo) DependencyOption {
|
||||
}
|
||||
}
|
||||
|
||||
// DependencyField sets the struct field and the option name
|
||||
// DependencyName sets the struct field and the option name
|
||||
// of the dependency in the generated builders.
|
||||
func DependencyName(name string) DependencyOption {
|
||||
return func(d *gen.Dependency) error {
|
||||
|
||||
Reference in New Issue
Block a user