/pkg

Go utility packages

Primary LanguageGoApache License 2.0Apache-2.0

pkg - go utility packages

A collection of utility packages that I use for my go projects.

Packages

  • i18n – contains a Localizer that can load localisation data and localize the text with options.
  • net – utility functions for working with network.
  • postgres – a wrapper around sql.DB that uses pgx drive under the hood. There are also some helpful utility methods to work with Postgres.
  • sql – set of useful interface to encapsulate sql.DB methods.
  • rand – utility functions for generating random numbers.

API

⚠️API is not stable yet, so backward compatibility is not guaranteed.