Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Bases = []Base{ {Label: "Base 2 (binary)", Base: 2}, {Label: "Base 8 (octal)", Base: 8}, {Label: "Base 10 (decimal)", Base: 10}, {Label: "Base 16 (hexadecimal)", Base: 16}, }
Bases lists supported base conversions.
Functions ¶
Types ¶
type Conversion ¶
type Conversion struct {
Label string `json:"label"`
Base int `json:"base"`
Value string `json:"value"`
}
Conversion represents a converted value for a base.
Click to show internal directories.
Click to hide internal directories.