Documentation ¶
Overview ¶
Copyright © 2022 NAME HERE <EMAIL ADDRESS>
Copyright © 2022 NAME HERE <EMAIL ADDRESS>
Copyright © 2022 NAME HERE <EMAIL ADDRESS>
Copyright © 2022 NAME HERE <EMAIL ADDRESS>
Copyright © 2022 NAME HERE <EMAIL ADDRESS>
Copyright © 2022 NAME HERE <EMAIL ADDRESS>
Copyright © 2022 NAME HERE <EMAIL ADDRESS>
Copyright © 2022 NAME HERE <EMAIL ADDRESS>
Copyright © 2022 NAME HERE <EMAIL ADDRESS>
Copyright © 2022 NAME HERE <EMAIL ADDRESS>
Copyright © 2022 NAME HERE <EMAIL ADDRESS>
Copyright © 2022 NAME HERE <EMAIL ADDRESS>
Copyright © 2022 NAME HERE <EMAIL ADDRESS>
Copyright © 2022 NAME HERE <EMAIL ADDRESS>
Copyright © 2022 NAME HERE <EMAIL ADDRESS>
Copyright © 2022 NAME HERE <EMAIL ADDRESS>
Copyright © 2022 NAME HERE <EMAIL ADDRESS>
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( LoremIpsumIcon = &aw.Icon{Value: "lorem-ipsum.pdf"} LoremIpsumGrayIcon = &aw.Icon{Value: "lorem-ipsum-gray.pdf"} Base64Icon = &aw.Icon{Value: "base64.pdf"} DevToysIcon = &aw.Icon{Value: "devtoys.pdf"} DownloadIcon = &aw.Icon{Value: "download.pdf"} EncodeDecodeIcon = &aw.Icon{Value: "encode-decode.pdf"} HashIcon = &aw.Icon{Value: "hash.pdf"} HashGrayIcon = &aw.Icon{Value: "hash-gray.pdf"} HtmlIcon = &aw.Icon{Value: "html.pdf"} JsonIcon = &aw.Icon{Value: "json.pdf"} JwtIcon = &aw.Icon{Value: "jwt.pdf"} JwtGrayIcon = &aw.Icon{Value: "jwt-gray.pdf"} QRcodeIcon = &aw.Icon{Value: "qrcode.pdf"} TextChangeCaseIcon = &aw.Icon{Value: "text-change-case.pdf"} UrlIcon = &aw.Icon{Value: "url.pdf"} UuidIcon = &aw.Icon{Value: "uuid.pdf"} UuidGrayIcon = &aw.Icon{Value: "uuid-gray.pdf"} NumberIcon = &aw.Icon{Value: "number.pdf"} NumberGrayIcon = &aw.Icon{Value: "number-gray.pdf"} )
var M = map[string]struct { Fn func(string) string Subtitle string }{ "camel": {changecase.Camel, "Convert to a string with the separators denoted by having the next letter capitalized"}, "constant": {changecase.Constant, "Convert to an upper case, underscore separated string"}, "dot": {changecase.Dot, "Convert to a lower case, period separated string"}, "lower": {changecase.Lower, "Convert to a string in lower case"}, "lcfirst": {changecase.LcFirst, "Convert to a string with the first character lower cased"}, "no": {changecase.No, "Convert the string without any casing (lower case, space separated)"}, "param": {changecase.Param, "Convert to a lower case, dash separated string"}, "pascal": {changecase.Pascal, "Convert to a string denoted in the same fashion as camelCase, but with the first letter also capitalized"}, "path": {changecase.Path, "Convert to a lower case, slash separated string"}, "sentence": {changecase.Sentence, "Convert to a lower case, space separated string"}, "snake": {changecase.Snake, "Convert to a lower case, underscore separated string"}, "swap": {changecase.Swap, "Convert to a string with every character case reversed"}, "title": {changecase.Title, "Convert to a space separated string with the first character of every word upper cased"}, "upper": {changecase.Upper, "Convert to a string in upper case"}, "ucfirst": {changecase.UcFirst, "Convert to a string with the first character upper cased"}, "hashtag": {func(s string) string { array := regexp.MustCompile(" +").Split(s, -1) for i := 0; i < len(array); i++ { if len(array[i]) > 0 && array[i][0:1] != "#" { array[i] = "#" + strings.ToLower(array[i]) } } return strings.Join(array, " ") }, "Convert to a string, space separated string with hashtag symbols"}, }
Functions ¶
func BinaryFormat ¶
func CheckForUpdate ¶
func CheckForUpdate()
func DecimalFormat ¶
func Execute ¶
func Execute()
Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.
func OctalFormat ¶
Types ¶
This section is empty.