toml

package
v0.0.12 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2024 License: MIT Imports: 2 Imported by: 2

Documentation

Overview

Package toml provides the toml functions

Index

Constants

This section is empty.

Variables

View Source
var (
	Marshal    = marshal
	Unmarshal  = toml.Unmarshal
	NewDecoder = toml.NewDecoder
	NewEncoder = toml.NewEncoder
	DecodeFile = toml.DecodeFile
	Decode     = toml.Decode
)

Functions

func MarshalToString

func MarshalToString(v any) string

MarshalToString returns json string, and ignores error

func MustToString

func MustToString(v any) string

MustToString returns json string, or panic

Types

type Value

type Value = toml.Primitive

Jump to

Keyboard shortcuts

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