Specify field names when initializing structs (#47)

* Added field names to struct initializations.
This commit is contained in:
PRADYUMNA KAUSHIK 2017-12-23 10:33:42 -08:00 committed by Renan DelValle
parent ff545e8aa6
commit 9631aa3aab
6 changed files with 84 additions and 29 deletions

View file

@ -45,7 +45,7 @@ func TestMain(m *testing.M) {
}
// Create monitor
monitor = &realis.Monitor{r}
monitor = &realis.Monitor{Client: r}
thermosPayload, err = ioutil.ReadFile("examples/thermos_payload.json")
if err != nil {