go2hx

manual

github

Module: stdgo.Go

(view library index)

Overview

Index

Constants

import stdgo.GoNumber
final globalAddressMutex:sys.thread.Mutex = new sys.thread.Mutex()

Variables

import stdgo.GoNumber
var globalAddress:Int

Functions

import stdgo.GoNumber

function clampInt16

function clampInt16(x:Int):Int

(view code)

function clampInt8

function clampInt8(x:Int):Int

(view code)

function clampUInt

function clampUInt(x:Int):stdgo.UInt32

(view code)

function clampUInt16

function clampUInt16(x:Int):Int

(view code)

function clampUInt8

function clampUInt8(x:Int):Int

(view code)

function copyInt64

function copyInt64(x:stdgo.Int64):stdgo.Int64

(view code)

function copyUInt64

function copyUInt64(x:stdgo.UInt64):stdgo.UInt64

(view code)

function ofFloatInt64

function ofFloatInt64(x:stdgo.Float):stdgo.Int64

(view code)

function ofFloatUInt64

function ofFloatUInt64(x:stdgo.Float):stdgo.UInt64

(view code)

function ofIntInt64

function ofIntInt64(x:Int):stdgo.Int64

(view code)

function ofIntUInt

function ofIntUInt(x:Int):stdgo.UInt32

(view code)

function ofIntUInt64

function ofIntUInt64(x:Int):stdgo.UInt64

(view code)

function ofUIntUInt64

function ofUIntUInt64(x:UInt):stdgo.UInt64

(view code)

function oneInt64

function oneInt64():stdgo.Int64

(view code)

function oneUInt32

function oneUInt32():stdgo.UInt32

(view code)

function oneUInt64

function oneUInt64():stdgo.UInt64

(view code)

function shiftGuard

function shiftGuard(x:Int):Bool

(view code)

function toFloatInt64

function toFloatInt64(x:stdgo.Int64):stdgo.Float

(view code)

function toFloatUInt64

function toFloatUInt64(x:stdgo.UInt64):stdgo.Float

(view code)

function toInt64UInt64

function toInt64UInt64(x:stdgo.UInt64):stdgo.Int64

(view code)

function toIntInt64

function toIntInt64(x:stdgo.Int64):Int

(view code)

function toIntUInt64

function toIntUInt64(x:stdgo.UInt64):Int

(view code)

function toStringInt64

function toStringInt64(x:stdgo.Int64):String
Converts an `Int64` to `Float`;
	Implementation by Elliott Stoneham.

(view code)

function toStringUInt64

function toStringUInt64(x:stdgo.UInt64):String

(view code)

function toUInt64Int64

function toUInt64Int64(x:stdgo.Int64):stdgo.UInt64

(view code)

function zeroInt64

function zeroInt64():stdgo.Int64

(view code)

function zeroUInt32

function zeroUInt32():stdgo.UInt32

(view code)

function zeroUInt64

function zeroUInt64():stdgo.UInt64

(view code)

Classes

import stdgo.*

class AnyInterfaceData

var type:stdgo._internal.internal.reflect._Type
var value:Any

AnyInterfaceData function new

function new(value:Any, type:stdgo._internal.internal.reflect._Type):Void

(view code)

AnyInterfaceData function toString

function toString():String

(view code)

class ChanData

var capacity:stdgo.GoInt
var length:stdgo.GoInt

ChanData function iterator

function iterator():stdgo._Chan.ChanIterator<stdgo.ChanData.T>

(view code)

ChanData function keyValueIterator

function keyValueIterator():stdgo._Chan.ChanKeyValueIterator<stdgo.ChanData.T>

(view code)

ChanData function new

function new(length:stdgo.GoInt, defaultValue:():stdgo.ChanData.T):Void

(view code)

ChanData function toString

function toString():String

(view code)

class Complex

var imag:stdgo.Complex.T
var real:stdgo.Complex.T

Complex function new

function new(r:stdgo.Complex.T, i:stdgo.Complex.T):Void

(view code)

Complex function toString

function toString():String

(view code)

class Go

var recover_exception:stdgo.AnyInterface

Go function asInterface

function asInterface(expr:Dynamic):Dynamic

Go function cfor

function cfor(cond:Dynamic, post:Dynamic, expr:Dynamic):Dynamic

Go function copySlice

function copySlice(dst:Dynamic, src:Dynamic):Dynamic

Go function defaultValue

function defaultValue(e:Dynamic):Dynamic

Go function expectedValue

function expectedValue(value:Dynamic):Dynamic

Go function map

function map(exprs:Dynamic):Dynamic

Go function multireturn

function multireturn(expr:Dynamic):Dynamic

Go function pointer

function pointer(expr:Dynamic, hasSet:Dynamic):Dynamic

Go function print

function print(args:haxe.Rest<Dynamic>):Void

(view code)

Go function println

function println(args:haxe.Rest<Dynamic>):Void

(view code)

Go function refPointer

function refPointer(expr:Dynamic):Dynamic

Go function routine

function routine(func:():Void):Void

(view code)

Go function select

function select(expr:Dynamic):Dynamic

Go function setKeys

function setKeys(expr:Dynamic):Dynamic

Go function setRef

function setRef(expr:Dynamic):Dynamic

Go function str

function str(expr:Dynamic):Dynamic

Go function toInterface

function toInterface(expr:Dynamic):Dynamic

Go function typeAssert

function typeAssert(expr:Dynamic):Dynamic

Go function typeEquals

function typeEquals(expr:Dynamic):Dynamic

Go function typeFunction

function typeFunction(e:Dynamic):Dynamic

Go function unquote

function unquote(qvalue:Dynamic):Dynamic

class GoAnyInterfaceMap

GoAnyInterfaceMap function get

function get(key:Dynamic):stdgo.GoAnyInterfaceMap.V

(view code)

GoAnyInterfaceMap function new

function new():Void

(view code)

GoAnyInterfaceMap function set

function set(key:Dynamic, value:stdgo.GoAnyInterfaceMap.V):Void

(view code)

class GoAnyInterfaceMapKey

var ai:stdgo.AnyInterface
var ais:String

GoAnyInterfaceMapKey function new

function new(k:stdgo.AnyInterface):Void

(view code)

class GoArrayData

var bytes:haxe.io.Bytes
var capacity:Int
var length:Int
var offset:Int
var vector:haxe.ds.Vector<stdgo.GoArrayData.T>

GoArrayData function get

function get(index:Int):stdgo.GoArrayData.T

(view code)

GoArrayData function grow

function grow():Void

(view code)

GoArrayData function new

function new(length:Int, capacity:Int, args:haxe.Rest<stdgo.GoArrayData.T>):Void

(view code)

GoArrayData function set

function set(index:Int, value:stdgo.GoArrayData.T):stdgo.GoArrayData.T

(view code)

GoArrayData function toArray

function toArray():Array<stdgo.GoArrayData.T>

(view code)

GoArrayData function toVector

function toVector():haxe.ds.Vector<stdgo.GoArrayData.T>

(view code)

class GoArrayDataIterator

GoArrayDataIterator function hasNext

function hasNext():Bool

(view code)

GoArrayDataIterator function new

function new(slice:stdgo.GoArrayData<stdgo.GoArrayDataIterator.T>):Void

(view code)

GoArrayDataIterator function next

function next():stdgo.GoArrayDataIterator.T

(view code)

class GoArrayDataKeyValueIterator

GoArrayDataKeyValueIterator function hasNext

function hasNext():Bool

(view code)

GoArrayDataKeyValueIterator function new

function new(slice:stdgo.GoArrayData<stdgo.GoArrayDataKeyValueIterator.T>):Void

(view code)

GoArrayDataKeyValueIterator function next

function next():{
	value:stdgo.GoArrayDataKeyValueIterator.T;
	key:stdgo.GoInt;
}

(view code)

class GoArrayMap

GoArrayMap function new

function new():Void

(view code)

class GoBoolMap

GoBoolMap function get

function get(key:Bool):stdgo.GoBoolMap.T

(view code)

GoBoolMap function new

function new():Void

(view code)

class GoChanMap

GoChanMap function get

function get(key:stdgo.Chan<stdgo.GoChanMap.K>):stdgo.GoChanMap.V

(view code)

GoChanMap function new

function new():Void

(view code)

class GoComplex128Map

GoComplex128Map function get

function get(key:stdgo.GoComplex128):stdgo.GoComplex128Map.T

(view code)

GoComplex128Map function new

function new():Void

(view code)

class GoFloat64Map

GoFloat64Map function get

function get(key:stdgo.GoFloat64):stdgo.GoFloat64Map.T

(view code)

GoFloat64Map function new

function new():Void

(view code)

class GoInt64Map

GoInt64Map function get

function get(key:stdgo.GoInt64):stdgo.GoInt64Map.T

(view code)

GoInt64Map function new

function new():Void

(view code)

class GoObjectMap

var t:stdgo._internal.internal.reflect._Type

GoObjectMap function get

function get(key:Dynamic):stdgo.GoObjectMap.V

(view code)

GoObjectMap function new

function new():Void

(view code)

GoObjectMap function set

function set(key:Dynamic, value:stdgo.GoObjectMap.V):Void

(view code)

class GoPointerMap

GoPointerMap function get

function get(key:stdgo.Pointer<stdgo.GoPointerMap.K>):stdgo.GoPointerMap.V

(view code)

GoPointerMap function new

function new():Void

(view code)

class GoRefMap

GoRefMap function get

function get(key:stdgo.Ref<stdgo.GoRefMap.K>):stdgo.GoRefMap.V

(view code)

GoRefMap function new

function new():Void

(view code)

class GoStringMap

GoStringMap function get

function get(key:stdgo.GoString):stdgo.GoStringMap.T

(view code)

GoStringMap function new

function new():Void

(view code)

GoStringMap function remove

function remove(key:stdgo.GoString):Bool

(view code)

GoStringMap function set

function set(key:stdgo.GoString, value:stdgo.GoStringMap.T):Void

(view code)

class GoStringTools

GoStringTools function indexOf

function indexOf(s:stdgo.GoString, str:stdgo.GoString, ?startIndex:Int):Int

(view code)

GoStringTools function lastIndexOf

function lastIndexOf(s:stdgo.GoString, str:stdgo.GoString, ?startIndex:Int):Int

(view code)

GoStringTools function substr

function substr(str:stdgo.GoString, pos:Int, ?len:Int):stdgo.GoString

(view code)

class GoUInt64Map

GoUInt64Map function get

function get(key:stdgo.GoUInt64):stdgo.GoUInt64Map.T

(view code)

GoUInt64Map function new

function new():Void

(view code)

class PointerData

var address:Int
var hasSet:Bool
var previous:stdgo.Pointer<Any>
var ref:stdgo.PointerData.T
var underlying:Any
var underlyingIndex:Any

PointerData function assign

function assign():stdgo.PointerData.T

PointerData function convert

function convert()

PointerData function get

function get():stdgo.PointerData.T

PointerData function new

function new(?get:():stdgo.PointerData.T, ?set:(), ?hasSet:Bool, ?previous:stdgo.Pointer<Any>, ?underlying:Any, ?underlyingIndex:Any):Void

(view code)

PointerData function set

function set()

PointerData function toString

function toString():String

(view code)

Typedefs

import stdgo.*

typedef Complex128

typedef Complex128 = stdgo.Complex<stdgo.Float64>;

typedef Complex64

typedef Complex64 = stdgo.Complex<stdgo.Float32>;

typedef Error

typedef Error = {
	public function error():stdgo.GoString;
};

typedef Float

typedef Float = stdgo.Float64;

typedef Float32

typedef Float32 = stdgo.Float64;

typedef Float64

typedef Float64 = Float;

typedef GoByte

typedef GoByte = stdgo.GoUInt8;

typedef GoComplex64Map

typedef GoComplex64Map = stdgo.GoComplex128Map<stdgo.GoComplex64Map.T>;

typedef GoFloat

typedef GoFloat = stdgo.GoFloat64;

typedef GoFloat32Map

typedef GoFloat32Map = stdgo.GoFloat64Map<stdgo.GoFloat32Map.T>;

typedef GoFloatMap

typedef GoFloatMap = stdgo.GoFloat64Map<stdgo.GoFloatMap.T>;

typedef GoInt

typedef GoInt = stdgo.GoInt32;

typedef GoInt16Map

typedef GoInt16Map = stdgo._GoMap.IntMap<stdgo.GoInt16Map.T>;

typedef GoInt32Map

typedef GoInt32Map = stdgo._GoMap.IntMap<stdgo.GoInt32Map.T>;

typedef GoInt8Map

typedef GoInt8Map = stdgo._GoMap.IntMap<stdgo.GoInt8Map.T>;

typedef GoIntMap

typedef GoIntMap = stdgo._GoMap.IntMap<stdgo.GoIntMap.T>;

typedef GoRune

typedef GoRune = stdgo.GoInt32;

typedef GoUInt

typedef GoUInt = stdgo.GoUInt32;

typedef GoUInt16Map

typedef GoUInt16Map = stdgo._GoMap.IntMap<stdgo.GoUInt16Map.T>;

typedef GoUInt32Map

typedef GoUInt32Map = stdgo._GoMap.IntMap<stdgo.GoUInt32Map.T>;

typedef GoUInt8Map

typedef GoUInt8Map = stdgo._GoMap.IntMap<stdgo.GoUInt8Map.T>;

typedef GoUIntMap

typedef GoUIntMap = stdgo._GoMap.IntMap<stdgo.GoUIntMap.T>;

typedef Int16

typedef Int16 = Int;

typedef Int32

typedef Int32 = haxe.Int32;

typedef Int64

typedef Int64 = haxe.Int64;

typedef Int8

typedef Int8 = Int;

typedef Ref

typedef Ref = stdgo.Ref.T;

typedef StructType

typedef StructType = {
};

typedef UInt16

typedef UInt16 = Int;

typedef UInt32

typedef UInt32 = UInt;

typedef UInt64

typedef UInt64 = haxe.UInt64;

typedef UInt8

typedef UInt8 = Int;

Abstracts

abstract AnyInterface

(view file containing code)

abstract Chan

(view file containing code)

abstract GoArray

(view file containing code)

abstract GoComplex128

(view file containing code)

abstract GoComplex64

(view file containing code)

abstract GoFloat32

(view file containing code)

abstract GoFloat64

(view file containing code)

abstract GoInt16

(view file containing code)

abstract GoInt32

(view file containing code)

abstract GoInt64

(view file containing code)

abstract GoInt8

(view file containing code)

abstract GoMap

(view file containing code)

abstract GoString

(view file containing code)

abstract GoUInt16

(view file containing code)

abstract GoUInt32

(view file containing code)

abstract GoUInt64

(view file containing code)

abstract GoUInt8

(view file containing code)

abstract GoUIntptr

(view file containing code)

abstract Pointer

(view file containing code)

abstract Slice

(view file containing code)