Discover Packages
bitbucket.org/pcas/golua
lib
stringlib
package
Version:
v0.1.6
Opens a new window with list of versions in this module.
Published: May 23, 2022
License: Apache-2.0, MIT
Opens a new window with license information.
Imports: 16
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
func Format(t *rt.Thread, format rt.String, values []rt.Value) (rt.String, error)
func PackSize(format string) (uint, error)
func PackValues(format string, values []rt.Value) (string, error)
func UnpackString(format, pack string, j int) ([]rt.Value, int, error)
Format is the base for the implementation of lua string.format()
It works by scanning the verbs in the format string and converting
the argument corresponding to this verb to the correct type, then
calling Go's fmt.Sprintf().
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.