Add Result types to Go SDK and properly populate body/map fields (#358)

This commit is contained in:
Jeff Mitchell authored and GitHub committed 2020-09-15 01:08:21 -04:00
1 parent d8dc1ed0b2
commit a00ee7a948
61 files changed
+1888 -1099

No files matched your search

+1 -1
View File
@@ -116,7 +116,7 @@ func (tc *TestController) Token() *authtokens.AuthToken {
tc.t.Error(fmt.Errorf("api err from logging in: %s", pretty.Sprint(apiErr)))
return nil
}
return token
return token.Item
}
func (tc *TestController) addrs(purpose string) []string {