internal/comments/testfixtures/dotparser/basic_1/expected.go
raw| 1 | package testfixtures |
| 2 | |
| 3 | type StartStreamingRequest struct { |
| 4 | Stream *Stream `json:"stream,omitempty"` |
| 5 | } |
| 6 | |
| 7 | type Settings struct { |
| 8 | Key string `json:"key"` |
| 9 | |
| 10 | Password string `json:"password"` |
| 11 | |
| 12 | Server string `json:"server"` |
| 13 | |
| 14 | UseAuth bool `json:"use-auth"` |
| 15 | |
| 16 | Username string `json:"username"` |
| 17 | } |
| 18 | |
| 19 | type Stream struct { |
| 20 | Metadata map[string]interface{} `json:"metadata"` |
| 21 | |
| 22 | Settings *Settings `json:"settings,omitempty"` |
| 23 | |
| 24 | Type int `json:"type"` |
| 25 | } |