Versions in this module Expand all Collapse all v0 v0.2.0 May 15, 2026 Changes in this version + var ErrInvalidKey = errors.New("invalid key: must be [A-Za-z0-9_]+") + var ErrInvalidValue = errors.New("invalid value: must not contain spaces or '='") + type Fields struct + func New(capacity int) *Fields + func Parse(s string, capacity int) (*Fields, error) + func (f *Fields) Get(key string) (string, bool) + func (f *Fields) MustPut(key, value string) *Fields + func (f *Fields) Put(key, value string) error + func (f *Fields) String() string + func (f *Fields) StringSorted() string