gen

package
v0.30.2 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2025 License: PostgreSQL Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() *context

Types

type Rule

type Rule struct {
	// contains filtered or unexported fields
}

func Builtin

func Builtin(name string, f collecter, reqs ...string) Rule

Collect generate json from a builtin function

Used to generate metadata, catalog, etc.

func NewRule added in v0.0.13

func NewRule(target string, f generator, reqs ...string) Rule

func (Rule) IsZero added in v0.0.13

func (r Rule) IsZero() bool

func (Rule) Outdated added in v0.0.13

func (r Rule) Outdated() bool

Jump to

Keyboard shortcuts

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