widgets

package
v0.0.0-...-5d93618 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ToolMap = make(map[string]Tool, len(ToolSlice1))
View Source
var ToolSlice1 = []string{
	"to_b64",
	"from_b64",
	"to_hex",
	"from_hex",
	"to_html",
	"from_html",
	"sha1",
	"sha256",
	"sha512",
	"md5",
	"url_en",
	"url_de",
	"url, parse",
	"pretty_json",
	"mini_json",
	"csv_2_json",
}
View Source
var ToolSlice2 = []Tool{
	{"To Base64", tools.ToBase64CallBack},
	{"From Base64", tools.FromBase64CallBack},
	{"To Hex", tools.ToHexCallback},
	{"From Hex", tools.FromHexCallback},
	{"To HTML Entities", tools.ToHTMLCallback},
	{"From HTML Entities", tools.FromHTMLCallback},
	{"SHA-1", tools.SHA1Callback},
	{"SHA-256", tools.SHA256Callback},
	{"SHA-512", tools.SHA512Callback},
	{"MD5", tools.MD5Callback},
	{"Encode URL", tools.URLEncodeCallback},
	{"Decode URL", tools.URLDecodeCallback},
	{"Parse URL", tools.URLParse},
	{"Beautify JSON", tools.JSONBeautifyCallback},
	{"Minify JSON", tools.JSONMinifyCallback},
	{"CSV To JSON", tools.CSVToJSON},
}

Functions

This section is empty.

Types

type Tool

type Tool struct {
	Label    string
	Callback func(app gowid.IApp, w gowid.IWidget)
}

Jump to

Keyboard shortcuts

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