xgo

package
v1.18.2 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2026 License: Apache-2.0 Imports: 0 Imported by: 2

Documentation

Index

Constants

View Source
const (
	ContinueLabel = -4 // continue with label (ContinueLabel - N)
	Continue      = -3 // continue without label
	ReturnVals    = -2 // return with value
	Return        = -1 // return without value
	Break         = 1  // break without label
	BreakLabel    = 2  // break with label (BreakLabel + N)
)
View Source
const (
	XGoPackage = true // to indicate this is a XGo package
)

Variables

This section is empty.

Functions

func RetVal added in v1.18.1

func RetVal() any

RetVal returns the return value of the current goroutine.

func SetRetVal added in v1.18.1

func SetRetVal(v any)

SetRetVal sets the return value of the current goroutine.

Types

type IntRange

type IntRange struct {
	Start, End, Step int
}

func NewRange__0

func NewRange__0(start, end, step int) *IntRange

func (*IntRange) XGo_Enum added in v1.16.0

func (p *IntRange) XGo_Enum() *intRangeIter

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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