A collection of stand-alone Go packages
Go Shell
Switch branches/tags
Nothing to show
Clone or download
Permalink
Failed to load latest commit information.
.circleci Add template.sh for managed CircleCI (#102) May 22, 2018
cli Update gocd imports and CircleCI verification (#97) Apr 20, 2018
cobracli Update cobracli API (#98) Apr 24, 2018
gittest Update RunGitCommand to return string of output (#90) Mar 25, 2018
godel/config Excavator: Update godel to latest version (#109) Jul 12, 2018
httpclient Add httpclient package for HTTP/Transporter creation (#71) Sep 7, 2017
httpserver Update gocd imports and CircleCI verification (#97) Apr 20, 2018
matcher Update gocd imports and CircleCI verification (#97) Apr 20, 2018
objmatcher Update gocd imports and CircleCI verification (#97) Apr 20, 2018
pkgpath Update gocd imports and CircleCI verification (#97) Apr 20, 2018
safehttp Update gocd imports and CircleCI verification (#97) Apr 20, 2018
safejson Update gocd imports and CircleCI verification (#97) Apr 20, 2018
safeyaml Update gocd imports and CircleCI verification (#97) Apr 20, 2018
signals Add documentation for usage of signals function (#108) Jun 18, 2018
specdir Update godel to latest version (#101) May 22, 2018
tableprinter Add tableprinter Jun 2, 2017
tlsconfig Update gocd imports and CircleCI verification (#97) Apr 20, 2018
transform Update gocd imports and CircleCI verification (#97) Apr 20, 2018
vendor Update version of testify dependency (#96) Apr 20, 2018
.gitignore Update godel to latest version (#101) May 22, 2018
Gopkg.lock Update godel to latest version (#101) May 22, 2018
Gopkg.toml Use dep to manage dependencies Jun 27, 2017
LICENSE Switch to BSD 3-Clause license (#14) Nov 27, 2016
README.md Add objmatcher package (#47) May 4, 2017
godelw Excavator: Update godel to latest version (#109) Jul 12, 2018

README.md

pkg

pkg is a collection of Go packages that provide various different functionality. The packages in this project are generally independent and strive to depend on as few external packages as possible. Many of the packages in the project are also independent from each other.

An overview of some of the packages is included below. Refer to the package comments for individual packages for more information.

cli

cli provides a framework for creating CLI applications. It provides support for commands, subcommands, flags, before and after hooks, documentation, deprecation, command-line completion and other functionality.

matcher

matcher allows files to be matched based on their name or path. Supports composing and combining matchers and provides data structures that can be used as configuration to specify include and exclude rules.

objmatcher

objmatcher provides the ability to match objects based on criteria and returns a descriptive error when an object does not match its expectation. When used in combination with maps, makes it easy to perform complex matching on maps in a declarative manner (for example, requiring that some map entries match an expectation exactly while others should match a particular regular expression).

pkgpath

pkgpath provides functions for getting Go package paths. Provides functions for getting the paths to all of the packages rooted in a directory and for converting between different representations of package paths including relative, GOPATH-relative and absolute. Depends on matcher.

specdir

specdir provides the ability to define specifications for directory layouts, verify that existing directories match the specification and create new directory structures based on a specification.

License

This project is made available under the BSD 3-Clause License.