Commit Graph

4 Commits

Author SHA1 Message Date
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
Thomas Bennett
1a1b7af289 Fixed bug where SpartanImage and EmblemImage were not returning
Fixed formatting in the main.go file, and updated the SpartanImage and EmblemImage functions to return the URL of the image rather than the byte code.  All the other functions now return byte code which is cast to a string in the main.go file.
2016-05-05 16:41:09 -07:00
Thomas Bennett
a48929d939 added API key check and removed duplicate lines 2016-05-05 15:00:13 -07:00
5fbb161f36 created halo pkg and renamed functions
haven't changed any of the code, per se.  Moved the halo pkg code and
created main.go file.  Should create tests for all of the functionality.
2016-05-05 14:45:52 -07:00