multikeys

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2025 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Filler

type Filler struct {
	// contains filtered or unexported fields
}

func NewFiller

func NewFiller() *Filler

func (*Filler) Data

func (f *Filler) Data() Tag

func (*Filler) Fill

func (f *Filler) Fill(key, value string) error

type Tag

type Tag map[string][]string

Tag is a key/values map.

func Parse

func Parse(tag string) (Tag, error)

Parse parses a struct tag to a `map[string][]string`. For non-conventional tags where the key is repeated.

func (Tag) String added in v0.6.0

func (m Tag) String() string

Jump to

Keyboard shortcuts

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