(pb proto.Message)
| 136 | } |
| 137 | |
| 138 | func printAsJSON(pb proto.Message) error { |
| 139 | m := jsonpb.Marshaler{} |
| 140 | traceJSON, err := m.MarshalToString(pb) |
| 141 | if err != nil { |
| 142 | return err |
| 143 | } |
| 144 | |
| 145 | fmt.Println(traceJSON) |
| 146 | return nil |
| 147 | } |
| 148 | |
| 149 | func parseHeaders(headers []string) [][2]string { |
| 150 | var parsed [][2]string |
no outgoing calls
no test coverage detected