Registry / utility / gobuffalo-gogen

gobuffalo-gogen

JSON →
library0.2.0gogounverified

A code generation library for Go, used by Buffalo to generate models, migrations, and other components.

go get github.com/gobuffalo/gogen
INSTALL
IMPORT
SIG · GOBUFFALO-GOGEN
G
gobuffalo-gogen
utilitygov0.2.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

gogen
github.com/gobuffalo/gogen

Creates a new generator and adds a file to it.

package main import ( "fmt" "github.com/gobuffalo/gogen" ) func main() { g := gogen.NewGenerator("myapp") g.AddFile("hello.go", "package main\n\nfunc main() {\n\tprintln(\"Hello\")\n}") fmt.Println("Generator created") }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.2.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
gobuffalo-gogen — go get gobuffalo-gogen · libregistry