https://github.com/FiloSottile/homebrew-gomod
A brew command to cleanly install binaries from Go modules.
https://github.com/FiloSottile/homebrew-gomod
Last synced: about 1 year ago
JSON representation
A brew command to cleanly install binaries from Go modules.
- Host: GitHub
- URL: https://github.com/FiloSottile/homebrew-gomod
- Owner: FiloSottile
- License: apache-2.0
- Created: 2020-03-15T17:29:43.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2021-05-20T11:01:53.000Z (about 5 years ago)
- Last Synced: 2024-11-06T02:49:34.842Z (over 1 year ago)
- Language: Shell
- Homepage: https://blog.filippo.io/install-go-tools-from-modules-with-brew-gomod/
- Size: 9.77 KB
- Stars: 68
- Watchers: 4
- Forks: 4
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# homebrew-gomod
A brew command to cleanly install binaries from Go modules.
https://blog.filippo.io/install-go-tools-from-modules-with-brew-gomod
## Installation
```
$ brew install FiloSottile/gomod/brew-gomod
```
## Usage
```
$ brew gomod github.com/maruel/panicparse/cmd/pp
go: creating new go.mod: module gomod-pp/2020-03-15
go: downloading github.com/maruel/panicparse v1.3.0
go: found github.com/maruel/panicparse/cmd/pp in github.com/maruel/panicparse v1.3.0
go: downloading github.com/mattn/go-isatty v0.0.7
go: downloading github.com/mattn/go-colorable v0.1.1
go: downloading github.com/mgutz/ansi v0.0.0-20170206155736-9520e82c474b
go: downloading golang.org/x/sys v0.0.0-20190222072716-a9d3bda3a223
Linking /usr/local/Cellar/gomod-pp/2020-03-15... 1 symlinks created
$ brew uninstall gomod-pp
Uninstalling /usr/local/Cellar/gomod-pp/2020-03-15... (3 files, 4.8MB)
```