А
Size: a a a
А
x
А
x
MB
func (s *LogService) Groups() ([]string, error) {
res, err := s.col.Distinct(context.Background(), "group", bson.M{})
if err != nil {
return nil, err
}
result := make([]string, len(res))
for _, v := range res {
result = append(result, v.(string))
}
return result, nil
}LG
func (s *LogService) Groups() ([]string, error) {
res, err := s.col.Distinct(context.Background(), "group", bson.M{})
if err != nil {
return nil, err
}
result := make([]string, len(res))
for _, v := range res {
result = append(result, v.(string))
}
return result, nil
}C
C
LG
C
C
LG
C
C
MB
LG
MB