utils

package
v0.0.0-...-66e247a Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckErr

func CheckErr(err error)

func Tabletoarray

func Tabletoarray[T any](table *lua.LTable, convertfunc func(item lua.LValue) T) []T

func Tabletomap

func Tabletomap[K comparable, V any](table *lua.LTable, convertfunc func(key lua.LValue, value lua.LValue) (K, V)) map[K]V

func Tostringarray

func Tostringarray(table *lua.LTable) []string

func Tostringstringmap

func Tostringstringmap(table *lua.LTable) map[string]string

Types

This section is empty.

Jump to

Keyboard shortcuts

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