Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/codenoid/gomiss
Auto `go get -u` from missing package message
https://github.com/codenoid/gomiss
golang golang-package missing-package package-manager
Last synced: about 2 months ago
JSON representation
Auto `go get -u` from missing package message
- Host: GitHub
- URL: https://github.com/codenoid/gomiss
- Owner: codenoid
- Created: 2019-11-28T04:57:02.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2019-11-28T06:44:13.000Z (about 5 years ago)
- Last Synced: 2023-03-03T06:09:05.661Z (almost 2 years ago)
- Topics: golang, golang-package, missing-package, package-manager
- Language: Go
- Size: 2.93 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# GoMiss
Auto `go get -u` from missing package message## Installation
```
go get -u github.com/codenoid/GoMiss
```## Usage
```
$ go build
a.go:9:2: cannot find package "github.com/gin-gonic/gin" in any of:
/usr/local/go/src/github.com/gin-gonic/gin (from $GOROOT)
/home/codenoid/go/src/github.com/gin-gonic/gin (from $GOPATH)
a.go:10:2: cannot find package "github.com/codenoid/GoTral" in any of:
/usr/local/go/src/github.com/codenoid/GoTral (from $GOROOT)
/home/codenoid/go/src/github.com/codenoid/GoTral (from $GOPATH)
a.go:11:2: cannot find package "github.com/getsentry/sentry-go" in any of:
/usr/local/go/src/github.com/getsentry/sentry-go (from $GOROOT)
/home/codenoid/go/src/github.com/getsentry/sentry-go (from $GOPATH)
a.go:12:2: cannot find package "gopkg.in/couchbase/gocb.v1" in any of:
/usr/local/go/src/gopkg.in/couchbase/gocb.v1 (from $GOROOT)
/home/codenoid/go/src/gopkg.in/couchbase/gocb.v1 (from $GOPATH)
a.go:13:2: cannot find package "github.com/go-redis/redis/v7" in any of:
/usr/local/go/src/github.com/go-redis/redis/v7 (from $GOROOT)
/home/codenoid/go/src/github.com/go-redis/redis/v7 (from $GOPATH)# When the app/package you run doesn't have go mod, then
# Really ? would you `go get` all these package manually ?
# here's GoMiss come to fix missing package for you$ go build 2>&1 >/dev/null | GoMiss
$ go build
# success :)
```