translator

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2020 License: AGPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	//BuiltInMap defines various mappings that need to exist between the virtual machine and golang
	BuiltInMap = map[string]string{
		"int":     "int64",
		"uintptr": "int64",
	}

	// TypeAliasMap maps a package to it's various type alias conversion types
	TypeAliasMap = map[string]TypeAliasToBuiltIn{
		"syscall": TypeAliasToBuiltIn{
			"Signal": "int",
		},
		"time": TypeAliasToBuiltIn{
			"Duration": "int64",
		},
	}
)

Functions

This section is empty.

Types

type TypeAliasToBuiltIn

type TypeAliasToBuiltIn map[string]string

TypeAliasToBuiltIn maps package type aliases to built in types for conversion

Jump to

Keyboard shortcuts

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