sqlgen

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2025 License: MIT Imports: 8 Imported by: 0

README

sqlgen

Installing

go install git.crumpington.com/lib/go/sqlgen/cmd/sqlgen@latest

Usage

sqlgen [driver] [defs-path] [output-path]

File Format

TABLE [sql-name] OF [go-type] <NoInsert> <NoUpdate> <NoDelete> (
    [sql-column] [go-type] <AS go-name> <PK> <NoInsert> <NoUpdate>,
    ...
);

Documentation

Index

Constants

View Source
const (
	DRIVER_SQLITE   = "sqlite"
	DRIVER_POSTGRES = "postgres"
)

Variables

This section is empty.

Functions

func Main

func Main()

Types

This section is empty.

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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