package aggregate // mebibyte — двоичный мегабайт (1024² октетов), в JSON полях *megabytes. const mebibyte = 1024 * 1024 func octetsToMegabytes(o uint64) float64 { return float64(o) / float64(mebibyte) }