yantoml

package module
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2023 License: BSD-3-Clause Imports: 2 Imported by: 0

README

= yantoml

yantoml is a lightweight, efficient, and easy-to-use library for manipulating TOML files. It is designed to provide a simple and straightforward interface for reading, modifying, and converting TOML files. The library is open-source, fast, and extremely easy to use.

docs: https://github.com/simplyYan/yantoml/wiki/Docs

== Installation

To install yantoml, use the standard `go get` command:

----
go get github.com/simplyYan/yantoml
----

== Features

* *Fast*: yantoml is designed to be quick and efficient, making it ideal for projects where performance is a priority.
* *Lightweight*: The library has a small footprint, making it a great choice for projects of all sizes.
* *Open-Source*: yantoml is open-source, so you can freely use, modify, and distribute it.
* *Effective*: yantoml provides a comprehensive set of functions for manipulating TOML files.
* *Easy to Use*: The library's API is simple and intuitive, making it extremely easy to use.

== License

yantoml is licensed under the BSD-3-Clause license. See the LICENSE file for more details.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Yantoml

type Yantoml struct {
	// contains filtered or unexported fields
}

func New

func New() *Yantoml

func (*Yantoml) Add

func (y *Yantoml) Add(file string, doc string)

func (*Yantoml) Convert

func (y *Yantoml) Convert(file string) (string, error)

func (*Yantoml) Modify

func (y *Yantoml) Modify(file string, key string, value string)

func (*Yantoml) Read

func (y *Yantoml) Read(file string)

func (*Yantoml) Remove

func (y *Yantoml) Remove(file string, key string)

Jump to

Keyboard shortcuts

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