From 4550ba9d30f4e12b6773bb80bb49fe8b800a738d Mon Sep 17 00:00:00 2001 From: derek mcquay Date: Wed, 11 May 2016 10:48:44 -0700 Subject: [PATCH] moved main.go in to a seperate cmd dir --- main.go => cmd/gohalo/main.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) rename main.go => cmd/gohalo/main.go (98%) diff --git a/main.go b/cmd/gohalo/main.go similarity index 98% rename from main.go rename to cmd/gohalo/main.go index c565b2e..e0d8c47 100644 --- a/main.go +++ b/cmd/gohalo/main.go @@ -4,7 +4,7 @@ import ( "fmt" "os" - "github.com/tbenz9/go-halo5-api/halo" + "github.com/dmmcquay/go-halo5-api/halo" ) var baseurl string = "https://www.haloapi.com" @@ -36,7 +36,7 @@ func getAPIKey() string { func main() { h := halo.NewHalo(baseurl, title, getAPIKey()) - //fmt.Println(h.Enemies()) + fmt.Println(h.Enemies()) //fmt.Println(h.FlexibleStats()) //fmt.Println(h.GameBaseVariants()) //fmt.Println(h.Impulses()) @@ -56,7 +56,7 @@ func main() { //fmt.Println(h.Requisitions(sampleRequisitionID)) //fmt.Println(h.MatchesForPlayer(sampleGamertag, "", 0, 0)) //fmt.Println(h.PlayerLeaderboard(sampleSeasonID, samplePlaylistID, 0)) - fmt.Println(h.CarnageReportArena(sampleArenaMatchID)) + //fmt.Println(h.CarnageReportArena(sampleArenaMatchID)) // Uncomment any of the below for sample output. // Metadata