From fd0b6db160c2b50b065b0aa8fc1eeb196709ec26 Mon Sep 17 00:00:00 2001 From: Jordan Orelli Date: Thu, 10 Sep 2015 18:12:14 -0400 Subject: [PATCH] tweaks on method and param lists --- cmd/steam/api.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/steam/api.go b/cmd/steam/api.go index 38d5671..ba06ae1 100644 --- a/cmd/steam/api.go +++ b/cmd/steam/api.go @@ -93,7 +93,7 @@ interfaces. continue } for _, m := range i.Methods { - fmt.Fprintf(w, "%s\t%s\n", i.Name, m.Name) + fmt.Fprintf(w, "%s\t%s\t%s\t%d\n", i.Name, m.Name, m.HttpMethod, m.Version) } } }, @@ -139,7 +139,7 @@ retrieve all method parameters for the IDOTA2Match_570 method GetMatchDetails: } } for _, p := range m.Params { - fmt.Fprintf(w, "%s\t%s\t%s\t%s\t%t\t%s\n", i.Name, m.Name, p.Name, p.Type, p.Optional, p.Description) + fmt.Fprintf(w, "%s/%s/v%d\t%s\t%s\t%t\t%s\n", i.Name, m.Name, m.Version, p.Name, p.Type, p.Optional, p.Description) } } }