pkg

package
v0.18.1 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Raw

func Raw(src string) fmt.GoStringer

Types

type FunctionCall

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

func (*FunctionCall) GoString added in v0.10.0

func (f *FunctionCall) GoString() string

func (*FunctionCall) ReturnCount

func (f *FunctionCall) ReturnCount(count int) *FunctionCall

func (*FunctionCall) ReturnVariable

func (f *FunctionCall) ReturnVariable(index int, name string) *FunctionCall

func (*FunctionCall) WithError

func (f *FunctionCall) WithError() *FunctionCall

type GoStringFunc added in v0.10.0

type GoStringFunc func() string

func (GoStringFunc) GoString added in v0.10.0

func (f GoStringFunc) GoString() string

type Package

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

func New

func New() *Package

func (*Package) Add

func (p *Package) Add(function string, args ...any) *FunctionCall

func (*Package) GoString added in v0.10.0

func (p *Package) GoString() string

func (*Package) Run

func (p *Package) Run() error

Jump to

Keyboard shortcuts

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