go-utils

module
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2025 License: MIT

README

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".
  • diff
    • Diff tool to copare two JSONs with wilcards
    • usage import "github.com/keboola/go-utils/pkg/diff".
  • 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:

task lint
task tests

Run HTTP server with documentation:

task godoc

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

License

MIT licensed, see LICENSE file.

Directories

Path Synopsis
pkg
deepcopy
Package deepcopy implements deep copy and deep translate of a value.
Package deepcopy implements deep copy and deep translate of a value.
orderedmap
Package orderedmap is extended version of: https://github.com/iancoleman/orderedmap
Package orderedmap is extended version of: https://github.com/iancoleman/orderedmap
testproject
Package testproject implements locking of Keboola Projects for E2E parallel tests.
Package testproject implements locking of Keboola Projects for E2E parallel tests.
wildcards
Package wildcards implements helper to compare text with wildcards in tests.
Package wildcards implements helper to compare text with wildcards in tests.

Jump to

Keyboard shortcuts

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