Skip to content
generated from keboola/template

Keboola Go utils.

License

Notifications You must be signed in to change notification settings

keboola/go-utils

Repository files navigation

Keboola Go Utils

  • deepcopy
    • Deep copy and deep translate of a value, extended version of hvoecking gist.
    • Usage import "github.com/keboola/go-utils/pkg/deepcopy".
  • orderedmap
  • testproject
    • Locking of Keboola Projects for E2E parallel tests.
    • Usage import "github.com/keboola/go-utils/pkg/testproject".
  • wildcards
    • Helper to compare text with wildcards in test.
    • Usage import "github.com/keboola/go-utils/pkg/wildcards".

Development

Clone the repository and run dev container:

docker-compose run --rm -u "$UID:$GID" --service-ports dev bash

Run lint and tests in container:

make lint
make tests

Run HTTP server with documentation:

make godoc

Open http://localhost:6060/pkg/github.com/keboola/go-utils/pkg/ in browser.

License

MIT licensed, see LICENSE file.