Skip to content

Collection of packages used to build backend services in Golang at Social Point

License

Notifications You must be signed in to change notification settings

socialpoint-labs/bsk

Repository files navigation

BSK Build Status codecov Go Report Card

Join the chat at https://gitter.im/socialpoint-labs/bsk

Packages

Extensions

Extensions are packages tha extends other packages from the standard library or from an official package.

Package Description
awsx Extends package github.com/aws/aws-sdk-go with testing utilities and easier to use helpers.
contextx Extends context with types and decorators to run tasks with a context.Context
grpcx Extends package google.golang.org/grpc with interceptors
httpx Extends package net/http with routing utilities, decorators, etc...
logx Extends log with structured logging and logstash support
timex Extends time with other time functions and utilities

Utilities

Utilities are general purpose packages that provides specific functionalities.

Package Description
dispatcher Adds a reflect-based framework for dispatching events
metrics Adds metrics to instrument and publish to e.g DataDog
multierror Allows piling multiple errors in a single error object
netutil Net utilities to get free network ports
recovery Offers panic recovery utils
run Functions to manage runtime execution flow
uuid An utility package to generate time-ordered UUIDs

Contributors

This code was initially part of a private repository at Social Point.

It's a collaborative effort of all the backend team!

In order to simplify the process of moving the code to a public repository, original commits authors' could be lost.

Special thanks to all the people who have collaborated (in alphabetical order):