From b7b8ec7fb3612f17eca64945abb461a7b56cf7fe Mon Sep 17 00:00:00 2001 From: itzaname Date: Fri, 31 Dec 2021 17:42:32 -0500 Subject: [PATCH] Update go-roblox to latest --- cmd/rbxcompiler/rbxcompiler.go | 4 ++-- go.mod | 2 +- go.sum | 10 ---------- 3 files changed, 3 insertions(+), 13 deletions(-) delete mode 100644 go.sum diff --git a/cmd/rbxcompiler/rbxcompiler.go b/cmd/rbxcompiler/rbxcompiler.go index e79ae18..8f18099 100644 --- a/cmd/rbxcompiler/rbxcompiler.go +++ b/cmd/rbxcompiler/rbxcompiler.go @@ -52,7 +52,7 @@ func build() { fmt.Printf("Logged in as %s...\n", rbx.Username) fmt.Printf("Uploading file to roblox...\n") - resp, err := rbx.CreateAsset(&roblox.AssetUploadOptions{ + id, err := rbx.CreateAsset(&roblox.AssetUploadOptions{ AssetID: *assetId, Group: *groupId, }, buffer) @@ -62,7 +62,7 @@ func build() { return } - fmt.Printf("Uploaded ID %d VERSION %d\n", resp.AssetID, resp.AssetVersionID) + fmt.Printf("Uploaded ID\n", id) } fmt.Println("Complete!") diff --git a/go.mod b/go.mod index dabd606..7bf3349 100644 --- a/go.mod +++ b/go.mod @@ -3,7 +3,7 @@ module git.itzana.me/itzaname/rbxcompiler go 1.15 require ( - git.itzana.me/itzaname/go-roblox v0.0.0-20210810235437-3574e3d70d92 + git.itzana.me/itzaname/go-roblox v1.0.1 git.itzana.me/itzaname/rbxfile v0.0.0-20210811000911-6fc7a2281e8d github.com/google/uuid v1.1.2 ) diff --git a/go.sum b/go.sum deleted file mode 100644 index 7849593..0000000 --- a/go.sum +++ /dev/null @@ -1,10 +0,0 @@ -git.itzana.me/itzaname/go-roblox v0.0.0-20210810235437-3574e3d70d92 h1:O0we09WIpFm18LSODLVfYvmll6UamygaftHiuHrHMkQ= -git.itzana.me/itzaname/go-roblox v0.0.0-20210810235437-3574e3d70d92/go.mod h1:x+fEejcurT8y/Vq+/ErqDHZm04d9lmYDGxjGpcPvJW4= -git.itzana.me/itzaname/rbxapi v0.1.0 h1:tmIGSKSgy2dEuKKar8/uyUgMvcBxq7VxXL5U8+SPJes= -git.itzana.me/itzaname/rbxapi v0.1.0/go.mod h1:xLmFDqsHxDbA841GccVxiK8IIpgciymGMgZB3dzeXsM= -git.itzana.me/itzaname/rbxfile v0.0.0-20210811000911-6fc7a2281e8d h1:K9qkm1OlnTpKR7jBRYu1lI/Wr7zbTCOYHrWkP1GhnzQ= -git.itzana.me/itzaname/rbxfile v0.0.0-20210811000911-6fc7a2281e8d/go.mod h1:ptm2rTJ8mzC9qWcjOAKtk16Sdhx2bpgn0za4hr9fBf0= -github.com/anaminus/but v0.2.0/go.mod h1:44z5qYo/3MWnZDi6ifH3IgrFWa1VFfdTttL3IYN/9R4= -github.com/bkaradzic/go-lz4 v1.0.0/go.mod h1:0YdlkowM3VswSROI7qDxhRvJ3sLhlFrRRwjwegp5jy4= -github.com/google/uuid v1.1.2 h1:EVhdT+1Kseyi1/pUmXKaFxYsDNy9RQYkMWRH68J/W7Y= -github.com/google/uuid v1.1.2/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=