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. |
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 content has models for translated content coming from multiple providers.
|
Package content has models for translated content coming from multiple providers. |
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. |
symbols
Package symbols contains the autogenerated i18n symbols for formatting.
|
Package symbols contains the autogenerated i18n symbols for formatting. |
Based on https://godoc.org/github.com/samsarahq/go/oops and adapted to our function names and needs.
|
Based on https://godoc.org/github.com/samsarahq/go/oops and adapted to our function names and needs. |
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 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 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 services helps to initialize services & applications.
|
Package services helps to initialize services & applications. |
Package storage abstracts Google Cloud Storage primitives with testable interfaces.
|
Package storage abstracts Google Cloud Storage primitives with testable interfaces. |
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. |
Click to show internal directories.
Click to hide internal directories.