strvals

package
v0.0.0-...-deba56b Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2023 License: AGPL-3.0 Imports: 1 Imported by: 0

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