Documentation ¶
Index ¶
- Constants
- Variables
- func Black(s string) string
- func Blue(s string) string
- func Cyan(s string) string
- func GetMessageColor(p string) string
- func Green(s string) string
- func KebabToCamelCase(kebab string) (camelCase string)
- func Magenta(s string) string
- func Red(s string) string
- func RemoveDuplicates(slice []string) []string
- func Yellow(s string) string
- type Scanner
Constants ¶
View Source
const ( CONTENT_TYPE_JSON = "application/json" CONTENT_TYPE_URL_ENCODED = "application/x-www-form-urlencoded" USER_AGENT = "aws-cli/2.5.3 Python/3.9.12" CONTENT_TYPE_HEADER = "Content-Type" )
Variables ¶
View Source
var AwsTemplatePropertyRegex = regexp.MustCompile(`(?:^|)\b(//)`)
View Source
var AzureTemplatePropertyRegex = regexp.MustCompile(`\{.(\w+)\}`)
View Source
var CheckForEmptyPathRegex = regexp.MustCompile(`//`)
Functions ¶
func GetMessageColor ¶
func KebabToCamelCase ¶
func RemoveDuplicates ¶
remove duplicates from a slice of strings
Types ¶
Click to show internal directories.
Click to hide internal directories.