dbschema-anygen

module
v0.3.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 7, 2023 License: MIT

README

dbschema-anygen

dbschema-anygen is useful go generator that mainly uses schema of database.

You can pass any templates to the generator.

How to use

Implement the code below into your generator code.

cfg := api.Config{
    // You should set configuration values
    ...
}

generator := api.NewGenerator(api.WithFuncMap(
    map[string]interface{}{
        "YourFunction": YourFunction,
    },
))
err := generator.Generate(c.Context, cfg)

Directories

Path Synopsis
pkg
db

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL