plugins

command
v0.9.1 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package main implements an config.Encoder and config.Decoder for an XML representation of config.Variable.

For the following input:

config.Variables{
	&config.Variable{
		Key: "HOME",
		Value: "C:\Users\Gopher",
	},
	&config.Variable{
		Key: "USERNAME",
		Value: "Gopher",
	},
}

The config.Encoder will output:

<Config>
	<Variable key="HOME">C:\Users\Gopher</Variable>
	<Variable key="USERNAME">Gopher</Variable>
</Config>

Jump to

Keyboard shortcuts

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