properties

package
v3.1.1 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2024 License: Apache-2.0 Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Properties

type Properties struct{}

func Parser

func Parser() *Properties

func (*Properties) Marshal

func (p *Properties) Marshal(o map[string]interface{}) ([]byte, error)

Marshal marshals the given config map to YAML bytes.

func (*Properties) Unmarshal

func (p *Properties) Unmarshal(b []byte) (map[string]interface{}, error)

Unmarshal parses the given properties bytes.

Jump to

Keyboard shortcuts

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