mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2024-12-23 18:52:11 +00:00
0884f89431
* start pulling out + replacing urfave and config * replace many many instances of config * move more stuff => viper * properly remove urfave * move some flags to root command * add testrig commands to root * alias config file keys * start adding cli parsing tests * reorder viper init * remove config path alias * fmt * change config file keys to non-nested * we're more or less in business now * tidy up the common func * go fmt * get tests passing again * add note about the cliparsing tests * reorganize * update docs with changes * structure cmd dir better * rename + move some files around * fix dangling comma
24 lines
789 B
Go
24 lines
789 B
Go
// Package toml is a TOML parser and manipulation library.
|
|
//
|
|
// This version supports the specification as described in
|
|
// https://github.com/toml-lang/toml/blob/master/versions/en/toml-v0.5.0.md
|
|
//
|
|
// Marshaling
|
|
//
|
|
// Go-toml can marshal and unmarshal TOML documents from and to data
|
|
// structures.
|
|
//
|
|
// TOML document as a tree
|
|
//
|
|
// Go-toml can operate on a TOML document as a tree. Use one of the Load*
|
|
// functions to parse TOML data and obtain a Tree instance, then one of its
|
|
// methods to manipulate the tree.
|
|
//
|
|
// JSONPath-like queries
|
|
//
|
|
// The package github.com/pelletier/go-toml/query implements a system
|
|
// similar to JSONPath to quickly retrieve elements of a TOML document using a
|
|
// single expression. See the package documentation for more information.
|
|
//
|
|
package toml
|