toml

package
v1.10.1 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2025 License: GPL-3.0 Imports: 1 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConfigNestedStruct

type ConfigNestedStruct struct {
	Text string
	Message
}

ConfigNestedStruct will hold a nested struct for testing

type ConfigStruct

type ConfigStruct struct {
	Title string
	Description
}

ConfigStruct will hold a struct for testing

type Description

type Description struct {
	Number uint32
}

Description will hold the number

type Float32

type Float32 struct {
	Number float32
}

Float32 will hold the value

type Float64

type Float64 struct {
	Number float64
}

Float64 will hold the value

type Int8

type Int8 struct {
	Number int8
}

Int8 will hold the value

type Int16

type Int16 struct {
	Number int16
}

Int16 will hold the value

type Int32

type Int32 struct {
	Number int32
}

Int32 will hold the value

type Int64

type Int64 struct {
	Number int64
}

Int64 will hold the value

type MapValues

type MapValues struct {
	Number int
}

MapValues will hold a value for map

type Message

type Message struct {
	Public             bool
	MessageDescription []MessageDescription
}

Message will hold some details

type MessageDescription

type MessageDescription struct {
	Text string
}

MessageDescription will hold the text

type MessageDescriptionOtherName

type MessageDescriptionOtherName struct {
	Value string
}

MessageDescriptionOtherName will hold the value

type MessageDescriptionOtherType

type MessageDescriptionOtherType struct {
	Text int
}

MessageDescriptionOtherType will hold the text as integer

type OverrideConfig

type OverrideConfig struct {
	OverridableConfigTomlValues []config.OverridableConfig
}

OverrideConfig holds an array of configs to be overridden

type TestArray added in v1.8.7

type TestArray struct {
	Strings []string
	Ints    []int
}

TestArray will hold an array of strings and integers

type TestConfigF32

type TestConfigF32 struct {
	Float32
}

TestConfigF32 will hold a float32 value for testing

type TestConfigF64

type TestConfigF64 struct {
	Float64
}

TestConfigF64 will hold a float64 value for testing

type TestConfigI8

type TestConfigI8 struct {
	Int8 Int8
}

TestConfigI8 will hold an int8 value for testing

type TestConfigI16

type TestConfigI16 struct {
	Int16
}

TestConfigI16 will hold an int16 value for testing

type TestConfigI32

type TestConfigI32 struct {
	Int32
}

TestConfigI32 will hold an int32 value for testing

type TestConfigI64

type TestConfigI64 struct {
	Int64
}

TestConfigI64 will hold an int64 value for testing

type TestConfigNestedStruct

type TestConfigNestedStruct struct {
	ConfigNestedStruct
}

TestConfigNestedStruct will hold a configuration with nested struct for testing

type TestConfigStruct

type TestConfigStruct struct {
	ConfigStruct
}

TestConfigStruct will hold a configuration struct for testing

type TestConfigU8

type TestConfigU8 struct {
	Uint8
}

TestConfigU8 will hold an uint8 value for testing

type TestConfigU16

type TestConfigU16 struct {
	Uint16
}

TestConfigU16 will hold an uint16 value for testing

type TestConfigU32

type TestConfigU32 struct {
	Uint32
}

TestConfigU32 will hold an uint32 value for testing

type TestConfigU64

type TestConfigU64 struct {
	Uint64
}

TestConfigU64 will hold an uint64 value for testing

type TestInterface

type TestInterface struct {
	Value interface{}
}

TestInterface will hold an interface for testing

type TestMap

type TestMap struct {
	Map map[string]MapValues
}

TestMap will hold a map for testing

type Uint8

type Uint8 struct {
	Number uint8
}

Uint8 will hold the value

type Uint16

type Uint16 struct {
	Number uint16
}

Uint16 will hold the value

type Uint32

type Uint32 struct {
	Number uint32
}

Uint32 will hold the value

type Uint64

type Uint64 struct {
	Number uint64
}

Uint64 will hold the value

Jump to

Keyboard shortcuts

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