Keys returns an array containing the keys of the given map.
(m map[string][]string)
| 687 | |
| 688 | // Keys returns an array containing the keys of the given map. |
| 689 | func Keys(m map[string][]string) []string { |
| 690 | keys := make([]string, 0, len(m)) |
| 691 | for k := range m { |
| 692 | keys = append(keys, k) |
| 693 | } |
| 694 | return keys |
| 695 | } |
| 696 | |
| 697 | func SentryInit(logger *zap.Logger, dsn string) { |
| 698 | err := sentry.Init(sentry.ClientOptions{ |
no outgoing calls
no test coverage detected