You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

github.com/Attsun1031/dbschema-anygen

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/Attsun1031/dbschema-anygen

v0.6.0
Source
Go
Version published
Created
Source

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)

FAQs

Package last updated on 11 Sep 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts