Update go-roblox to latest

This commit is contained in:
itzaname 2021-12-31 17:42:32 -05:00
parent 58e4c375c4
commit b7b8ec7fb3
3 changed files with 3 additions and 13 deletions

View File

@ -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!")

2
go.mod
View File

@ -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
)

10
go.sum
View File

@ -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=