github.com/Cloud-Foundations/Dominator@v0.3.4/lib/format/api.go (about)

     1  /*
     2  Package format provides convenience functions for formatting.
     3  */
     4  package format
     5  
     6  var (
     7  	TimeFormatSeconds    string = "02 Jan 2006 15:04:05 MST"
     8  	TimeFormatSubseconds string = "02 Jan 2006 15:04:05.99 MST"
     9  )
    10  
    11  // FormatMilli formats the value in thousants as a floating point number.
    12  func FormatMilli(value uint64) string {
    13  	_, output := formatMilli(value)
    14  	return output
    15  }