gomer

command module
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 13, 2021 License: MIT Imports: 16 Imported by: 0

README

gomer

lint build report version license

go get -u github.com/1pkg/gomer

Introduction

Gomer is a cli tool that can quicly search and cache go module index database to provide the abilitty to match modules based on regular expression for mobule path or semver constraint for module version.

Usage

gomer -h
Usage of gomer: [-f val] [-f val] <module_path_regexp>
  -constraint string
        cli semver constraint pattern; used only if non empty valid constraint specified
  -format string
        cli printf format for printing a module entry; \n is auto appended (default "%s %s %s")
  -index string
        cli go module index database url; golang.org index is used by default (default "https://index.golang.org/index")
  -nocache
        cli modules no caching flag; caching is enabled by default (default false)
  -timeout int
        cli timeout in seconds; only considered when value bigger than 0 (default 0)
  -verbose
        cli verbosity logging flag; verbosity is disabled by default (default false)

e.g.

gomer -constraint="<1.2" "gopium$"
github.com/1pkg/gopium v1.1.2 2020-06-18T19:45:44.710921Z
github.com/1pkg/gopium v1.1.1 2020-06-18T19:45:30.350059Z
github.com/1pkg/gopium v1.1.0 2020-06-17T20:51:55.723138Z
github.com/1pkg/gopium v1.0.1 2020-06-17T20:28:53.968057Z
github.com/1pkg/gopium v1.0.0 2020-06-13T13:44:46.041278Z

Licence

Gomer is licensed under the MIT License.
See LICENSE for the full license text.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL