output

package
v1.10.0 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2026 License: Apache-2.0 Imports: 12 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsFileExist

func IsFileExist(path string) bool

IsFileExist checks whether a file exists at the given path.

Types

type Options

type Options struct {
	PrintInputs    bool
	Subtests       bool
	PackageTest    bool   // Render calls and receiver types qualified with PackageName.
	PackageName    string // Name of the package under test.
	Parallel       bool
	Named          bool
	UseGoCmp       bool
	Template       string
	TemplateDir    string
	TemplateParams map[string]interface{}
	TemplateData   [][]byte
	UseAI          bool
	AIModel        string
	AIEndpoint     string
	AIMinCases     int
	AIMaxCases     int
	// contains filtered or unexported fields
}

Options contains configuration for generating and formatting test output.

func (*Options) Process added in v1.7.0

func (o *Options) Process(head *models.Header, funcs []*models.Function) ([]byte, error)

Process generates formatted test code from the header and function signatures.

Jump to

Keyboard shortcuts

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