Skip to content

therenotomorrow/ko

Repository files navigation

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.

About

A collection of Go packages (Go SDK) for daily development.

Topics

Resources

License

Stars

Watchers

Forks

Contributors