Remove generated files from git tracking
- Add api/proto/generated/ to .gitignore (protobuf generated files) - Add internal/ent/ and ent/ to .gitignore (Ent ORM generated files) - Remove all generated files from git tracking - Generated files can be regenerated with 'make generate-proto' and 'make generate-ent'
This commit is contained in:
@@ -1,18 +0,0 @@
|
||||
package schema
|
||||
|
||||
import "entgo.io/ent"
|
||||
|
||||
// Role holds the schema definition for the Role entity.
|
||||
type Role struct {
|
||||
ent.Schema
|
||||
}
|
||||
|
||||
// Fields of the Role.
|
||||
func (Role) Fields() []ent.Field {
|
||||
return nil
|
||||
}
|
||||
|
||||
// Edges of the Role.
|
||||
func (Role) Edges() []ent.Edge {
|
||||
return nil
|
||||
}
|
||||
Reference in New Issue
Block a user