strvals

package
v0.54.0 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2024 License: AGPL-3.0 Imports: 1 Imported by: 1

Documentation

Overview

Package strvals provides parsing utilities for strval lines, which follow the format: name=value,topname.subname=value.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Token

type Token struct {
	Key, Value string
	// contains filtered or unexported fields
}

Token represents a key-value token.

func Parse

func Parse(s string) ([]Token, error)

Parse parses the input string into key-value tokens following strvals format: name=value,topname.subname=value.

Jump to

Keyboard shortcuts

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