gobuildmock

package
v0.0.27 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeCompiler

type FakeCompiler struct {
	CompileErr       error
	CompileCallCount int
	Output           string
	Unobserved       []string
}

FakeCompiler is a mock implementation of the gobuild.Compiler interface.

func (*FakeCompiler) CompileProgram

func (f *FakeCompiler) CompileProgram() error

CompileProgram mocks the CompileProgram method.

func (*FakeCompiler) FinalOutputPath

func (f *FakeCompiler) FinalOutputPath() string

FinalOutputPath mocks the FinalOutputPath method.

func (*FakeCompiler) UnobservedFiles

func (f *FakeCompiler) UnobservedFiles() []string

UnobservedFiles mocks the UnobservedFiles method.

Jump to

Keyboard shortcuts

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