diff options
Diffstat (limited to 'steam/steam.go')
| -rw-r--r-- | steam/steam.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/steam/steam.go b/steam/steam.go index ae69020..03fa51e 100644 --- a/steam/steam.go +++ b/steam/steam.go @@ -34,9 +34,9 @@ type Library struct { // Game represents an actual game in the steam Library. The purpose is only // to provide info on a game. type Game struct { - Name string - LibraryPath string - Size int64 + Name string `json:"Name" example:"Doom"` + LibraryPath string `json:"LibraryPath" example:"C:\\Program Files (x86)\\Steam\\steamapps"` + Size int64 `json:"Size" example:"12345"` } var slugregexp = regexp.MustCompile(`[^-0-9A-Za-z_:.]`) |
