parse

package
v0.0.0-...-09d93fb Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2025 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Decoders = make(map[string]Decoder)

Functions

func NewDotEnvCmd

func NewDotEnvCmd() *cobra.Command

func NewJSONCmd

func NewJSONCmd() *cobra.Command

func NewParseCmd

func NewParseCmd() *cobra.Command

func NewPropertiesCmd

func NewPropertiesCmd() *cobra.Command

func NewTOMLCmd

func NewTOMLCmd() *cobra.Command

func NewXMLCmd

func NewXMLCmd() *cobra.Command

func NewYAMLCmd

func NewYAMLCmd() *cobra.Command

func ProcessTOML

func ProcessTOML(name string) (m map[string]any)

func ProcessYAML

func ProcessYAML(name string) (m map[string]any)

func ReadJSON

func ReadJSON(r io.Reader) (m any, err error)

func ReadJSONMap

func ReadJSONMap(name string) (m map[string]any)

func ReadXML

func ReadXML(name string) mxj.Map

Types

type Decoder

type Decoder func(io.Reader) (any, error)

type Input

type Input struct {
	File  string
	Alias string
	Type  string
}

func SplitNamePrefixType

func SplitNamePrefixType(name string) Input

func (Input) String

func (i Input) String() string

Jump to

Keyboard shortcuts

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