entc/gen: remove unnecessary function from codegen (#3287)

This commit is contained in:
Ariel Mashraki
2023-01-30 18:32:25 +02:00
committed by GitHub
parent d11122592a
commit a0fad09539
157 changed files with 51 additions and 857 deletions

View File

@@ -95,9 +95,3 @@ func (u *User) String() string {
// Users is a parsable slice of User.
type Users []*User
func (u Users) config(cfg config) {
for _i := range u {
u[_i].config = cfg
}
}