midnightfreddie / McpeTool

get/put/delete cli and http API for Minecraft Bedrock Edition world directories
https://www.onlinetoolplanet.com/mcpe-bedrock-tool
MIT License
38 stars 6 forks source link

Check on version fetched with "go get" #28

Closed midnightfreddie closed 3 years ago

midnightfreddie commented 3 years ago

I just fetched this repo with a "go get" command, and for some reason it grabbed the 9185468b4a29348031b2065019ef216cbb69f41f version instead of the most recent release or master.

Or maybe I had an old version and go get didn't update it.

In any case, I want to ensure go get fetches a reasonable default.

midnightfreddie commented 3 years ago

Ah, Go 1.16 and later do not fetch source code into $GOPATH/src anymore. I had an older version of the repo there already. "go get"ting this repo to build the mcpetool command no longer makes sense. Either use go run or clone the repo and build it anywhere including outside the Go path.