mirror of
https://github.com/ent/ent.git
synced 2026-05-24 09:31:56 +03:00
18 lines
287 B
Go
18 lines
287 B
Go
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{}
|