Initial commit

fbshipit-source-id: c79a38536e3c128dce1b2948615b72ec9779ed22
This commit is contained in:
facebook-github-bot
2019-06-16 04:28:59 -07:00
commit 267e3c15bd
159 changed files with 37236 additions and 0 deletions

17
entc/plugin/testdata/valid/valid.go vendored Normal file
View File

@@ -0,0 +1,17 @@
package main
import (
"fbc/ent/entc/gen"
)
// Generator implements the plugin.Generator interface.
type Generator struct{}
// Gen implementation.
func (Generator) Gen(*gen.Graph) error {
// logic goes here.
return nil
}
// Gen is the required plugin symbol.
var Gen = Generator{}