entc/gen: fix DependencyName godoc (#2094)

This commit is contained in:
Alexander Melentyev
2021-10-30 22:51:15 +03:00
committed by GitHub
parent 51b63c17c0
commit 681d03e896

View File

@@ -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 {