time

package
v0.0.11 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Loader

func Loader(L *lua.LState) int

Loader: creates and returns the time module for Lua. This function should be registered with L.PreloadModule("time", time.Loader)

@luamodule time

Example usage in Lua:

local time = require("time")
local now = time.now()
local formatted = time.format(now, "2006-01-02 15:04:05")

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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