initial commit - working code

new file:   .gitignore
	new file:   .idea/.gitignore
	new file:   .idea/Steamworks-Collection-Downloader.iml
	new file:   .idea/modules.xml
	new file:   .idea/vcs.xml
	new file:   downloader/downloadable.go
	new file:   downloader/downloader.go
	new file:   go.mod
	new file:   go.sum
	new file:   main.go
	new file:   manifest/entry.go
	new file:   manifest/manifest.go
	new file:   webapi/publishedFileDetailsResponse.go
This commit is contained in:
Neo committed 2022-10-13 17:37:52 -07:00
1 parent 2a1a8a2adc
commit ec93fc3379
13 files changed
+833

No files matched your search

+19
View File
@@ -0,0 +1,19 @@
package manifest
type Entry struct {
ID string
TimeCreated string
TimeUpdated string
HContentFile string
HContentFileSize string
HContentPreview string
HContentPreviewSize string
}
func (w Entry) FileNamePrefixed(prefix string) string {
return prefix + w.ID + ".vpk"
}
func (w Entry) PreviewFileNamePrefixed(prefix string) string {
return prefix + w.ID + ".jpg"
}