Commit Graph

3 Commits

Author SHA1 Message Date
Derek McQuay 017d100810 Restructured code to pass up and handle errors
Pretty big change.  Things now pass up errors that can be handled by the
caller.  This brought about a lot of change.  Errors attempt to be
descriptive of where they came from and notify user of the api what
potentailly caused the error.  Also renamed go-halo5-api.go to a more
suitable name, http.go.  This might change in the future if we implement
the http.Client interface
2016-05-11 14:52:37 -07:00
Derek McQuay 914869dfed updating profile.go to use methods
also changed some things in go-halo5-api.go.  Still need to rethink how
we are passing up errors and failures of trying to get the results
2016-05-11 10:48:00 -07:00
Thomas Bennett a6028a69aa Started work on returning structs instead of json strings
Lots of tests have been added to the main.go file.  Several of the functions return structs now instead of json strings.  I've added the initial structs for the remaining functions.
2016-05-10 13:31:32 -07:00