pkg

package
v0.9.2 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FunctionCall

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

func (*FunctionCall) ReturnCount

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

func (*FunctionCall) ReturnVariable

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

func (*FunctionCall) ToGo

func (f *FunctionCall) ToGo() string

func (*FunctionCall) WithError

func (f *FunctionCall) WithError() *FunctionCall

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) Run

func (p *Package) Run() error

func (*Package) ToGo

func (p *Package) ToGo() string

type ToGoFunc

type ToGoFunc func() string

func (ToGoFunc) ToGo

func (f ToGoFunc) ToGo() string

type ToGoer

type ToGoer interface {
	ToGo() string
}

func Raw

func Raw(src string) ToGoer

Jump to

Keyboard shortcuts

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