Documentation
¶
Overview ¶
Package gene helps you with creating the required folder, files, configs, api function, endpoints, clients, tests etc...
Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
gene
command
Package main provides cli for gene package
|
Package main provides cli for gene package |
|
genestruct
command
Package main provides cli for gene structs package
|
Package main provides cli for gene structs package |
|
Package db provides a simple interface for the db operations
|
Package db provides a simple interface for the db operations |
|
example
|
|
|
twitter/cmd/twitter
command
|
|
|
twitter/models
Generated struct for Account.
|
Generated struct for Account. |
|
generators
|
|
|
clients
Package clients generates clients for the generated api
|
Package clients generates clients for the generated api |
|
common
Package common provides common operation helpers to the generators
|
Package common provides common operation helpers to the generators |
|
errors
Package errors generates the common errors for the modules
|
Package errors generates the common errors for the modules |
|
models
Package models creates the models for the modules
|
Package models creates the models for the modules |
|
models/constants
Package constants generates the constant variables for a model/schema
|
Package constants generates the constant variables for a model/schema |
|
models/constructors
Package constructors generates the constructors for given schema/model
|
Package constructors generates the constructors for given schema/model |
|
sql/statements
Package statements creates sql statements for the given schema Currently it provides basic crud operations.
|
Package statements creates sql statements for the given schema Currently it provides basic crud operations. |
|
tests
Package tests creates tests files for the given schema
|
Package tests creates tests files for the given schema |
|
Package helpers provides helper functions for other subpackages
|
Package helpers provides helper functions for other subpackages |
|
Package request provides a simple Option for requst handling
|
Package request provides a simple Option for requst handling |
|
Package writers handles the file write operations
|
Package writers handles the file write operations |
Click to show internal directories.
Click to hide internal directories.