Skip to content

brpaz/lib-go

Repository files navigation

lib-go

A library of reusable code for my personal Go projects.

💡 Motivation

When creating Go projects, there are some code blocks and keep repeating in every project. Ex: Logging, glue code, utilities, etc.

The purpose of this repo, is to provide a personal library of that shared code, so I stop having to repeat it in all the my projects.

📋 What is included

  • Logger
  • Tracing Setup with for OpenTelemetry
  • Health checks
  • Database and Migrations
  • Misc utils to work with Pointers, time and more

📦 Dependencies

One of the great features of Go is it´s rich standard library. This library tries to use standard library functions (Ex: net/http) to make it compatible with different projects and reduce the number of external dependencies.

Still, this is an opinionated library and some abstractions requires external dependencies. (Ex: zap for logging).

🚀 Getting started

Install

go get github.com/brpaz/lib-go

Usage

Each package includes a README.md file generated by Gomarkdoc, with includes documentation and examples for that package.

About

A library of reusable code for my Go projects.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages