proxy.golang.org : github.com/paulstuart/codex
dbgen is a tool to automate the creation of create/update/delete methods that satisfy the github.com/paulstuart/dbobj.DBObject interface. For example, given this snippet, running this command in the same directory will create the file db_generated.go, in package dbobjs, containing the definition: Typically this process would be run using go generate, like this: The -type flag accepts a comma-separated list of types so a single run can generate methods for multiple types. The default output file is db_generated.go, where t is the lower-cased name of the first type listed. It can be overridden with the -output flag.
Registry
-
Source
- Documentation
- JSON
purl: pkg:golang/github.com/paulstuart/codex
License: MIT
Latest release: 24 days ago
Namespace: github.com/paulstuart
Stars: 0 on GitHub
Forks: 0 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 24 days ago