Contact represents our JSON string.
| 9 | |
| 10 | // Contact represents our JSON string. |
| 11 | type Contact struct { |
| 12 | Name string `json:"name"` |
| 13 | Title string `json:"title"` |
| 14 | Contact struct { |
| 15 | Home string `json:"home"` |
| 16 | Cell string `json:"cell"` |
| 17 | } `json:"contact"` |
| 18 | } |
| 19 | |
| 20 | // JSON contains a sample string to unmarshal. |
| 21 | var JSON = `{ |
nothing calls this directly
no outgoing calls
no test coverage detected