github.com/rakutentech/cli@v6.12.5-0.20151006231303-24468b65536e+incompatible/cf/formatters/memoryLimit.go (about) 1 package formatters 2 3 import "strconv" 4 5 func InstanceMemoryLimit(limit int64) string { 6 if limit == -1 { 7 return "Unlimited" 8 } 9 10 return strconv.FormatInt(limit, 10) + "M" 11 }