Files
ent/entc/load/testdata/failure/user.go
Ariel Mashraki e0e754717e ent: change ent package name (#1338)
Summary:
Pull Request resolved: https://github.com/facebookexternal/fbc/pull/1338

Pull Request resolved: https://github.com/facebookincubator/ent/pull/14

Reviewed By: alexsn

Differential Revision: D16890825

fbshipit-source-id: 656baaa73f5debab08c849b6b9639caeec2a8ef1
2019-08-19 09:32:14 -07:00

17 lines
238 B
Go

package failure
import (
"github.com/facebookincubator/ent"
"github.com/facebookincubator/ent/schema/edge"
)
type User struct {
ent.Schema
}
func (User) Edges() []ent.Edge {
return []ent.Edge{
edge.To("panic", User{}.Type),
}
}