sysops

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: May 2, 2025 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Delete

func Delete(keys ...string)

Delete option by key

func First

func First(keys ...string) *xtypes.Any

First returns the first option value for the given keys

func Get

func Get(key string, def ...any) *xtypes.Any

Get option value by key If the key does not exist, it returns the default value if provided Otherwise, it returns nil

func Has

func Has(key string) bool

Has checks if the option with the given key exists

func Set

func Set(key string, value any)

Set option value by key

Types

This section is empty.

Jump to

Keyboard shortcuts

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