Versions in this module Expand all Collapse all v0 v0.0.1 Jun 27, 2022 Changes in this version + func GroupBy(c []AccountCost) (map[string][]AccountCost, []string) + func Serialize(dir string, date []calendar.Date, metrics []string) error + func SortedKey(group map[string][]AccountCost) []string + type AccountCost struct + AccountID string + AmortizedCost Cost + BlendedCost Cost + Date string + Description string + NetAmortizedCost Cost + NetUnblendedCost Cost + RecordType string + Service string + UnblendedCost Cost + func Deserialize(dir string, date []calendar.Date) ([]AccountCost, error) + func Fetch(start, end string, metrics []string) ([]AccountCost, error) + func FetchWith(start, end string, dim, met []string) ([]AccountCost, error) + func (a AccountCost) JSON() string + func (a AccountCost) Pretty() string + func (a AccountCost) String() string + type Cost struct + Amount string + Unit string