Questions tagged [goinstall]

19 questions
0
votes
3 answers

go get installation from a local fork

I am trying to install a go package from a local directory (basically I checked out and existing package and applied a pending pull request). $ # Both commands give a similar output $ go get -u file:///Users/me/workspaces/go/somepackage $ go get -u…
AsTeR
  • 7,247
  • 14
  • 60
  • 99
0
votes
1 answer

Go install. Execute custom action

I have a CLI Go application. This application is reading some environment variables, and reading a custom config file. And I don't want this env-variable to be set manually or the config file to be created manually. It would be great if these…
Sergii Bishyr
  • 8,331
  • 6
  • 40
  • 69
0
votes
1 answer

How to install web app with all the internal folders, which is built on golang

How to use 'go install' or any other command to install/deploy a web-app with the internal folders. I had built a small web-app with the following folder structure. SampleWebApp |--- swa.go |--- static/ |--- css/x.css |---…
Giridhar
  • 512
  • 5
  • 20
-1
votes
1 answer

Can 'go install' be made to work for executables with different names from the git repo?

Go has a nice feature where you can go install and it will download, build and install a binary. For example, on my local windows PC, go install github.com/goreleaser/goreleaser will find the latest release for goreleaser, download, build and…
Orion Edwards
  • 121,657
  • 64
  • 239
  • 328
1
2