generator

package
v0.0.0-...-e3b2d30 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2024 License: BSD-3-Clause Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// ImportPath of current package.
	ImportPath = "github.com/guzenok1/go-sqltest/sqlmockgen/generator"
)

Variables

This section is empty.

Functions

func NewFile

func NewFile(filename string) (w io.Writer, close func(), err error)

Types

type Generator

type Generator interface {
	GenCode(
		t *testing.T,
		dbUrl string,
		init model.InitDbFunc,
		tests map[string]model.TestDbFunc,
	) []byte
}

func New

func New() Generator

Jump to

Keyboard shortcuts

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