Help us shape the future of Go! Take the 2026 Go Developer Survey

toml2json

package
v0.34.0 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const Title = "TOML to JSON Converter"

Variables

This section is empty.

Functions

func Convert

func Convert(tomlContent string) (string, error)

Types

type TomlJsonModel

type TomlJsonModel struct {
	ui.BasePagerModel
}

func NewTomlJsonModel

func NewTomlJsonModel(common *ui.CommonModel) TomlJsonModel

func (TomlJsonModel) Init

func (m TomlJsonModel) Init() tea.Cmd

func (*TomlJsonModel) SetContent

func (m *TomlJsonModel) SetContent(content string) error

func (TomlJsonModel) Update

func (m TomlJsonModel) Update(msg tea.Msg) (tea.Model, tea.Cmd)

func (TomlJsonModel) View

func (m TomlJsonModel) View() string

Jump to

Keyboard shortcuts

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