Go-Package-Store

An app that displays updates for the Go packages in your GOPATH.

  • 所有者: shurcooL/Go-Package-Store
  • 平台:
  • 許可證: MIT License
  • 分類:
  • 主題:
    go
  • 喜歡:
    0
      比較:

Github星跟蹤圖

Go Package Store

Build Status GoDoc

Go Package Store displays updates for the Go packages in your GOPATH.

Installation

go get -u github.com/shurcooL/Go-Package-Store/cmd/Go-Package-Store

That will create a binary at $GOPATH/bin/Go-Package-Store. You should run it from a terminal where your $GOPATH is set.

Usage

Usage: Go-Package-Store [flags]
       [newline separated packages], Go-Package-Store -stdin [flags]
  -dep string
    	Determine the list of Go packages from the specified Gopkg.toml file.
  -git-subrepo string
    	Look for Go packages vendored using git-subrepo in the specified vendor directory.
  -godeps string
    	Read the list of Go packages from the specified Godeps.json file.
  -govendor string
    	Read the list of Go packages from the specified vendor.json file.
  -http string
    	Listen for HTTP connections on this address. (default "localhost:7043")
  -stdin
    	Read the list of newline separated Go packages from stdin.

GitHub Access Token:
  To display updates for private repositories on GitHub, or when
  you've exceeded the unauthenticated rate limit, you can provide
  a GitHub access token for Go Package Store to use via the
  GO_PACKAGE_STORE_GITHUB_TOKEN environment variable.

Examples:
  # Check for updates for all Go packages in GOPATH.
  Go-Package-Store

  # Show updates for all golang.org/x/... packages.
  go list golang.org/x/..., Go-Package-Store -stdin

  # Show updates for all dependencies within Gopkg.toml constraints.
  Go-Package-Store -dep=/path/to/repo/Gopkg.toml

  # Show updates for all dependencies listed in vendor.json file.
  Go-Package-Store -govendor=/path/to/repo/vendor/vendor.json

  # Show updates for all Go packages vendored using git-subrepo
  # in the specified vendor directory.
  Go-Package-Store -git-subrepo=/path/to/repo/vendor

Development

This package relies on go generate directives to process and statically embed assets. For development only, you may need extra dependencies. You can build and run the package in development mode, where all assets are always read and processed from disk:

go build -tags=dev github.com/shurcooL/Go-Package-Store/cmd/Go-Package-Store

When you're done with development, you should run go generate before committing:

go generate github.com/shurcooL/Go-Package-Store/...

Alternatives

  • GoFresh - Console tool for checking and updating package dependencies (imports).

License

主要指標

概覽
名稱與所有者shurcooL/Go-Package-Store
主編程語言Go
編程語言CSS (語言數: 2)
平台
許可證MIT License
所有者活动
創建於2014-01-24 06:02:09
推送於2023-11-26 05:18:51
最后一次提交
發布數1
最新版本名稱coffeescript-frontend (發布於 2014-08-07 20:40:15)
第一版名稱coffeescript-frontend (發布於 2014-08-07 20:40:15)
用户参与
星數895
關注者數23
派生數28
提交數288
已啟用問題?
問題數63
打開的問題數7
拉請求數30
打開的拉請求數0
關閉的拉請求數2
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?