(args []arg)
| 856 | type commandFn func(inputErr error, args []arg) (resultErr error) |
| 857 | |
| 858 | func strfy(args []arg) string { |
| 859 | var out strings.Builder |
| 860 | sp := "" |
| 861 | for _, arg := range args { |
| 862 | out.WriteString(sp) |
| 863 | if len(arg.Vals) == 0 { |
| 864 | out.WriteString(arg.Key) |
| 865 | } else { |
| 866 | out.WriteString(strings.Join(arg.Vals, " ")) |
| 867 | } |
| 868 | sp = "\n" |
| 869 | } |
| 870 | return out.String() |
| 871 | } |
| 872 | |
| 873 | // interceptingTransport is an implementation of sentry.Transport that |
| 874 | // delegates calls to the SendEvent method to the send function contained |
no test coverage detected
searching dependent graphs…