sys

package
v0.0.0-...-83d7f29 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Overview

Package sys provides a Starlark module that exposes runtime information and arguments, and functions to interact with the system.

Index

Constants

View Source
const (
	// ModuleName defines the module name.
	ModuleName = "sys"
)

Variables

This section is empty.

Functions

func NewModule

func NewModule(args []string) starlet.ModuleLoader

NewModule creates a new module loader for the sys module.

func SetLog

func SetLog(l *zap.SugaredLogger)

SetLog sets the logger from outside the package.

Types

This section is empty.

Jump to

Keyboard shortcuts

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