Build: Fix potential case-insensitive import collision for github.com/Unknwon/com (#18915)
* update gopkg.in/macaron.v1 * update github.com/go-macaron/binding * update github.com/go-macaron/session * Substitute github.com/Unknwon/com with github.com/unknwon/com * Clean up modules using `go mod tidy` * Substitute github.com/Unknwon/bra with github.com/unknwon/bra
This commit is contained in:
@@ -80,7 +80,7 @@ does this.
|
||||
If you using *nix machine, you can just use the `make run` command, otherwise you need install `bra` binary first:
|
||||
|
||||
```bash
|
||||
go get github.com/Unknwon/bra
|
||||
go get github.com/unknwon/bra
|
||||
|
||||
bra run
|
||||
```
|
||||
@@ -143,7 +143,7 @@ Please contribute to the Grafana project and submit a pull request! Build new fe
|
||||
|
||||
**Problem**: When executing a `go get` command on Windows and you get an error about the git repository not existing.
|
||||
|
||||
**Solution**: `go get` requires Git. If you run `go get` without Git then it will create an empty directory in your Go workspace for the library you are trying to get. Even after installing Git, you will get a similar error. To fix this, delete the empty directory (for example: if you tried to run `go get github.com/Unknwon/bra` then delete `%USERPROFILE%\go\src\github.com\Unknwon\bra`) and run the `go get` command again.
|
||||
**Solution**: `go get` requires Git. If you run `go get` without Git then it will create an empty directory in your Go workspace for the library you are trying to get. Even after installing Git, you will get a similar error. To fix this, delete the empty directory (for example: if you tried to run `go get github.com/unknwon/bra` then delete `%USERPROFILE%\go\src\github.com\unknwon\bra`) and run the `go get` command again.
|
||||
<br><br>
|
||||
|
||||
**Problem**: On Windows, getting errors about a tool not being installed even though you just installed that tool.
|
||||
|
||||
Reference in New Issue
Block a user