Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Converters = func() []Command { var converters []Command converters = append(converters, yamlToJson{ base: NewBase("YAML -> JSON", "Convert YAML to JSON"), }) converters = append(converters, jsonToYaml{ base: NewBase("JSON -> YAML", "Convert JSON to YAML"), }) bases := []int{2, 8, 10, 16} for _, from := range bases { for _, to := range bases { if from != to { converters = append(converters, numberBaseConverter{ base: NewBase(fmt.Sprintf("%s -> %s", toPrettyBase(from), toPrettyBase(to)), ""), fromBase: from, toBase: to, }) } } } return converters } )
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.