(text string)
| 50 | } |
| 51 | |
| 52 | func TimeMustParse(text string) time.Time { |
| 53 | t, err := time.Parse(time.RFC3339, text) |
| 54 | if err != nil { |
| 55 | panic(err) |
| 56 | } |
| 57 | return t |
| 58 | } |
| 59 | |
| 60 | func TestDecodeMapStructJsonRawMessage(t *testing.T) { |
| 61 | input := map[string]interface{}{ |