libs

package module
v1.186.1 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2024 License: MIT Imports: 0 Imported by: 0

README

libs

PkgGoDev

List of Go utils and shared code for Altipla Consulting projects.

WARNING: We do incompatible releases from minor to minor because it is an internal lib. Patches are always compatible and fix broken things.

Install
go get libs.altipla.consulting
Contributing

You can make pull requests or create issues in GitHub. Any code you send should be formatted using make gofmt.

Running tests

Run the tests:

make test
License

MIT License

Documentation

Overview

Package libs contains a list of utils and shared code for Altipla Consulting projects.

Directories

Path Synopsis
Package aesecb implements a decrypter of AES in ECB mode.
Package aesecb implements a decrypter of AES in ECB mode.
Package bigquery contains a client to query BigQuery quicker & safely.
Package bigquery contains a client to query BigQuery quicker & safely.
cmd
datetime-generator
Package generator helps with creating the symbols files for supported langs extracting the data from CLDR.
Package generator helps with creating the symbols files for supported langs extracting the data from CLDR.
Package connect establishes connections to local or remote GRPC services with a more convenient set of options.
Package connect establishes connections to local or remote GRPC services with a more convenient set of options.
Package content has models for translated content coming from multiple providers.
Package content has models for translated content coming from multiple providers.
Package crypt contains utilities to read and write encrypted text and protos.
Package crypt contains utilities to read and write encrypted text and protos.
Package database writes and reads structs to SQL tables and helps building the queries with a very simple access model.
Package database writes and reads structs to SQL tables and helps building the queries with a very simple access model.
Package datetime contains date & time protobuf serialization, comparison and other common operations.
Package datetime contains date & time protobuf serialization, comparison and other common operations.
symbols
Package symbols contains the autogenerated i18n symbols for formatting.
Package symbols contains the autogenerated i18n symbols for formatting.
Package encoding contains helpers to encode or decode values.
Package encoding contains helpers to encode or decode values.
Package frontmatter provides a way of reading or writing Markdown or HTML files with a prepended frontmatter header in YAML or Protobuf Text.
Package frontmatter provides a way of reading or writing Markdown or HTML files with a prepended frontmatter header in YAML or Protobuf Text.
Package geo implements customized types and functions for our geo needs.
Package geo implements customized types and functions for our geo needs.
Package grpctest helps testing GRPC services in Go.
Package grpctest helps testing GRPC services in Go.
Package langs contains the full list of abreviations of locales available to the system.
Package langs contains the full list of abreviations of locales available to the system.
Package loaders implements helpers to initialize global state inside the application.
Package loaders implements helpers to initialize global state inside the application.
Package mailgun wraps the official client to provide unit test utilities and simplify the usage.
Package mailgun wraps the official client to provide unit test utilities and simplify the usage.
Package messageformat is a simplified MessageFormat Go implementation.
Package messageformat is a simplified MessageFormat Go implementation.
Package mjml renders MJML with a remote Cloud Function server.
Package mjml renders MJML with a remote Cloud Function server.
Package money represents money values with no loss in precision and without rounding errors.
Package money represents money values with no loss in precision and without rounding errors.
Package pagination implements a pager that stores the state in a proto token and uses the altipla-consulting/database API.
Package pagination implements a pager that stores the state in a proto token and uses the altipla-consulting/database API.
protos
rdb
api
Package recaptcha implements a Go client to validate captchas.
Package recaptcha implements a Go client to validate captchas.
Package redis is an abstraction layer to access Redis with repositories and models.
Package redis is an abstraction layer to access Redis with repositories and models.
Package routing sends requests to handlers and process the errors.
Package routing sends requests to handlers and process the errors.
Package schema parses incoming form data to a struct using gorilla/schema but also parses RFC3339 timestamps.
Package schema parses incoming form data to a struct using gorilla/schema but also parses RFC3339 timestamps.
Package secrets give access to Google Secret Manager secrets easily and keeping the values updated.
Package secrets give access to Google Secret Manager secrets easily and keeping the values updated.
Package slack contains helpers to interact with the Slack API.
Package slack contains helpers to interact with the Slack API.
Package storage abstracts Google Cloud Storage primitives with testable interfaces.
Package storage abstracts Google Cloud Storage primitives with testable interfaces.
Package templates wraps the stdlib with helper functions for html/template to assist with common actions, i18n or assets versioning.
Package templates wraps the stdlib with helper functions for html/template to assist with common actions, i18n or assets versioning.
Package tokensource has a Golang OAuth2 Token Source that notifies the refresh operations.
Package tokensource has a Golang OAuth2 Token Source that notifies the refresh operations.
Package validation is a set of functions that help us validate different parameters such as emails or JSON.
Package validation is a set of functions that help us validate different parameters such as emails or JSON.

Jump to

Keyboard shortcuts

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