INNER CODE UNIT · Go
ReasonWaitPending
rebuy-de/aws-nuke · cmd/log.go:16
ReasonWaitPending = *color.New(color.FgBlue)
ReasonSuccess = *color.New(color.FgGreen)
)
var (
ColorRegion = *color.New(color.Bold)
ColorResourceType = *color.New()
ColorResourceID = *color.New(color.Bold)
ColorResourceProperties = *color.New(color.Italic)
)
// Format the resource properties in sorted order ready for printing.
// This ensures that multiple runs of aws-nuke produce stable output so
// that they can be compared with each other.
func Sorted(m map[string]string) string {
keys := make([]string, 0, len(m))
for k := range m {
keys = append(keys, k)