libgolang

package
v1.16.8 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2024 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultPackageName = "golang"

DeafultPackageName is the package name used by LoadPackage.

Variables

This section is empty.

Functions

func BuiltinFloat

func BuiltinFloat(env *lisp.LEnv, args *lisp.LVal) *lisp.LVal

BuiltinFloat returns a floating point number held by the native value. Any type with underlying kind float32 or float64 can be converted.

func BuiltinInt

func BuiltinInt(env *lisp.LEnv, args *lisp.LVal) *lisp.LVal

BuiltinInt returns a integer held by the native value. Any type with underlying integer kind (possibly unsigned) can be converted. An error will be returned if any overflow occurs during conversion.

func BuiltinString

func BuiltinString(env *lisp.LEnv, args *lisp.LVal) *lisp.LVal

BuiltinString returns a string held by the native value (it does not convert non-string values to strings).

func BuiltinStructField

func BuiltinStructField(env *lisp.LEnv, args *lisp.LVal) *lisp.LVal

BuiltinStructField reflects the first argument and returns the named struct field.

func LoadPackage

func LoadPackage(env *lisp.LEnv) *lisp.LVal

LoadPackage adds the time package to env

Types

This section is empty.

Jump to

Keyboard shortcuts

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