config

package
v1.0.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseKeyValue

func ParseKeyValue(input string) (key, val string)

ParseKeyValue parses a single key=value pair and returns the key and value. If no value is provided, the value will be empty.

func ParseKeyValuePairs

func ParseKeyValuePairs(input string) map[string]string

ParseKeyValuePairs parses a comma-separated string of key=value pairs and returns them as a map. Empty pairs are ignored, and whitespace around pairs is trimmed.

Types

This section is empty.

Jump to

Keyboard shortcuts

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