libs

package module
v1.53.2 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2019 License: MIT Imports: 0 Imported by: 0

README

libs

GoDoc

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

WARNING: We do incompatible releases from minor to minor release because it is an internal lib. All backwards incompatible changes will be listed on CHANGELOG.md

Install
go get libs.altipla.consulting
Packages
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 arrays has models for integer and string arrays in MySQL.
Package arrays has models for integer and string arrays in MySQL.
Package bigquery contains testable interfaces to abstract the operations.
Package bigquery contains testable interfaces to abstract the operations.
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 collections is a set of functions that help us work with slices and maps.
Package collections is a set of functions that help us work with slices and maps.
Package connect has GRPC connections utils.
Package connect has GRPC connections utils.
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 errors is a custom library to annotate errors.
Package errors is a custom library to annotate errors.
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
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 sentry has a client with additional functionality and helpers to complement the official one.
Package sentry has a client with additional functionality and helpers to complement the official one.
Package services helps to initialize services & applications.
Package services helps to initialize services & applications.
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