ko

module
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2026 License: MIT

README

ko

A collection of Go packages (Go SDK) for daily development. Taste it! ❤

Packages

Tools
  • correlation: tools for managing Correlation ID concept
  • idempotent: tools for managing Idempotency Key concept
Objects
  • email: value objects and validation for email addresses
  • ident: value objects and convertors for domain object identifiers
  • password: value objects and hashing for passwords
  • uuid: value objects and generation for UUIDs
Helpers
  • fp: functional programming helpers
  • grpc: helpers for the google.golang.org/grpc library
  • redis: helpers for the go-redis library
  • slog: helpers for the standard log/slog library
  • sqlx: helpers for the jmoiron/sqlx library
  • validate: helpers and globals around the go-playground/validator library

Installation

go get github.com/therenotomorrow/ko@latest

Development

System Requirements
go version
# go version go1.26.x

just --version
# just 1.46.x
Download sources
PROJECT_ROOT=ko
git clone https://github.com/therenotomorrow/ko.git "$PROJECT_ROOT"
cd "$PROJECT_ROOT"
Set up dependencies
# install dependencies
go mod tidy

# check code integrity
just install code test

# setup safe development (optional)
git config --local core.hooksPath .githooks

Testing

# run quick checks
just test smoke # or just test

# run with coverage
just test cover

Contributing

Please feel free to submit issues, fork the repository and send pull requests!

License

This project is licensed under the terms of the MIT license.

Directories

Path Synopsis
Package correlation provides tools for managing `Correlation ID` concept.
Package correlation provides tools for managing `Correlation ID` concept.
Package email provides value objects and validation for email addresses.
Package email provides value objects and validation for email addresses.
validator
Package validator provides an email validator using the `go-validator`.
Package validator provides an email validator using the `go-validator`.
Package fp provides functional programming helpers.
Package fp provides functional programming helpers.
Package grpc provides helpers for the google.golang.org/grpc library.
Package grpc provides helpers for the google.golang.org/grpc library.
Package idempotent provides tools for managing `Idempotency Key` concept.
Package idempotent provides tools for managing `Idempotency Key` concept.
Package ident provides value objects and convertors for domain object identifiers.
Package ident provides value objects and convertors for domain object identifiers.
conv
Package conv provides conversions between ident.ID and other types.
Package conv provides conversions between ident.ID and other types.
Package password provides value objects and hashing for passwords.
Package password provides value objects and hashing for passwords.
argon2
Package argon2 provides a password hasher using the `argon2`.
Package argon2 provides a password hasher using the `argon2`.
Package redis provides helpers for the go-redis library.
Package redis provides helpers for the go-redis library.
Package slog provides helpers for the standard log/slog library.
Package slog provides helpers for the standard log/slog library.
Package sqlx provides helpers for the jmoiron/sqlx library.
Package sqlx provides helpers for the jmoiron/sqlx library.
Package uuid provides value objects and generation for UUIDs.
Package uuid provides value objects and generation for UUIDs.
google
Package google provides an uuid generator using the Google UUID implementation library.
Package google provides an uuid generator using the Google UUID implementation library.
Package validate provides helpers and globals around the go-playground/validator library.
Package validate provides helpers and globals around the go-playground/validator library.

Jump to

Keyboard shortcuts

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