diff options
| author | Mitch Riedstra <mitch@riedstra.us> | 2017-01-16 13:09:13 -0500 |
|---|---|---|
| committer | Mitch Riedstra <mitch@riedstra.us> | 2017-01-16 13:09:13 -0500 |
| commit | 5a8919689e91527ed89e9a8d8a061f117dfd250b (patch) | |
| tree | 895ce38ef6232675523a61500a6769fba4efd890 /main.go | |
| parent | 4f9e8e54fd6796e3080dc07381b2e8d17fd35b5f (diff) | |
| download | steam-export-5a8919689e91527ed89e9a8d8a061f117dfd250b.tar.gz steam-export-5a8919689e91527ed89e9a8d8a061f117dfd250b.tar.xz | |
Add ability to delete games. Remove old "main.go"
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/main.go b/main.go deleted file mode 100644 index 617be4d..0000000 --- a/main.go +++ /dev/null @@ -1,38 +0,0 @@ -package main - -import ( - "fmt" - "git.riedstra.us/mitch/steam-export/config" - "git.riedstra.us/mitch/steam-export/steam" - - "os" -) - -func main() { - config, err := config.LoadConfig() - if err != nil { - fmt.Println(err) - } - - // fmt.Println(config) - - libs, err := steam.ProcessMultipleLibraries(config.SteamRepositories) - if err != nil { - fmt.Println(err) - } else { - fmt.Println(libs) - } - - fmt.Println("------") - - fmt.Println(libs[0].Games[0]) - - working_dir, _ := os.Getwd() - fmt.Println(working_dir) - - // vvvvvvv - // _ = libs[0].PackageGame(libs[0].Games[0]) - // Duke Nukem 3d - _ = libs[2].PackageGame(libs[2].Games[8]) - -} |
