Help us shape the future of Go! Take the 2026 Go Developer Survey

clitest

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Build

func Build(tb testing.TB) string

func MakeMigrationsDirectory

func MakeMigrationsDirectory(tb testing.TB, directory string) string

func WriteMigrationConfig

func WriteMigrationConfig(tb testing.TB, directory string, content string) string

func WriteSQLFile

func WriteSQLFile(tb testing.TB, directory string, name string, content string) string

func WriteSQLiteDatabase

func WriteSQLiteDatabase(tb testing.TB, path string, sqlStatements string)

Types

type Result

type Result struct {
	Stdout   string
	Stderr   string
	ExitCode int
}

func Run

func Run(tb testing.TB, binaryPath string, args ...string) Result

Jump to

Keyboard shortcuts

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