A system to dynamically launch DigitalOcean droplets as Minecraft servers if people are trying to connect, and destroys them when there's nobody on the server to save running costs.
MIT License
10
stars
3
forks
source link
command "go get" fails with "not enough arguments in call to doClient.DropletActions.PowerOff" #2
I tired to pull down your project and ran into this issue:
sailex@equestria-side:/opt$ go get github.com/1lann/dynamicserver/reverse_proxy
# github.com/1lann/dynamicserver/reverse_proxy
/home/sailex/go/src/github.com/1lann/dynamicserver/reverse_proxy/actions.go:28:48: not enough arguments in call to doClient.DropletActions.PowerOff
have (int)
want (context.Context, int)
/home/sailex/go/src/github.com/1lann/dynamicserver/reverse_proxy/actions.go:56:37: not enough arguments in call to doClient.Droplets.Delete
have (int)
want (context.Context, int)
/home/sailex/go/src/github.com/1lann/dynamicserver/reverse_proxy/actions.go:88:48: not enough arguments in call to doClient.DropletActions.Snapshot
have (int, string)
want (context.Context, int, string)
/home/sailex/go/src/github.com/1lann/dynamicserver/reverse_proxy/actions.go:110:48: not enough arguments in call to doClient.Images.ListUser
have (*godo.ListOptions)
want (context.Context, *godo.ListOptions)
/home/sailex/go/src/github.com/1lann/dynamicserver/reverse_proxy/actions.go:151:37: not enough arguments in call to doClient.Images.Delete
have (int)
want (context.Context, int)
/home/sailex/go/src/github.com/1lann/dynamicserver/reverse_proxy/actions.go:190:48: not enough arguments in call to doClient.Images.ListUser
have (*godo.ListOptions)
want (context.Context, *godo.ListOptions)
/home/sailex/go/src/github.com/1lann/dynamicserver/reverse_proxy/actions.go:256:39: not enough arguments in call to doClient.Droplets.Create
have (*godo.DropletCreateRequest)
want (context.Context, *godo.DropletCreateRequest)
/home/sailex/go/src/github.com/1lann/dynamicserver/reverse_proxy/droplet_monitor.go:138:44: not enough arguments in call to doClient.Droplets.List
have (*godo.ListOptions)
want (context.Context, *godo.ListOptions)
/home/sailex/go/src/github.com/1lann/dynamicserver/reverse_proxy/droplet_monitor.go:171:46: not enough arguments in call to doClient.Droplets.Actions
have (int, *godo.ListOptions)
want (context.Context, int, *godo.ListOptions)
sailex@equestria-side:/opt$
Hey, it's not your problem. I'll look into fixing it sometime today or tomorrow, no guarantees this will still work though as I haven't really used this in years!
Hi!
I tired to pull down your project and ran into this issue:
go version
go env
Am I missing something? I'm not that familiar with the GO language.