Documentation ¶ Overview ¶ gen provides code to generate link and unlink functions for gogm structs Index ¶ func Generate(directory string, debug bool) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Generate ¶ func Generate(directory string, debug bool) error Generate searches for all go source files, then generates link and unlink functions for all gogm structs takes in root directory and whether to log in debug mode note: Generate is not recursive, it only looks in the target directory Types ¶ This section is empty. Source Files ¶ View all Source files gen.go parse.go templ.go Click to show internal directories. Click to hide internal directories.