DEV Community

Cover image for The Ultimate Guide to the Most Useful Go Packages
Darpan Vithani for Canopas Software

Posted on

The Ultimate Guide to the Most Useful Go Packages

Developing software in Go can be an incredibly powerful and efficient experience, but with so many packages(libraries) available, it can be overwhelming sometimes to find the right ones for your needs.

Going through each package one by one to identify the most useful can be cumbersome, and ultimately reduce your productivity.

That’s why we’ve put together this ultimate guide to the most useful Go packages.

So whether you’re a seasoned Go developer looking to streamline your workflow, this guide is for you. Without further ado, let’s dive into the world of Go Packages and see what’s out there!

Here's what the blog outline looks like...

  • Database Packages
    • go-grm/gorm
    • go-sql-driver/mysql
    • jmoiron/sqlx
  • Authentication & Authorization Package
    • dgrijalva/jwt-go
  • Testing Packages
    • testify
    • mock
  • Logging Package
    • logrus
  • Validation Package
    • validator
  • Routing Package
    • net/http
  • Utility Packages
    • html/template
    • image
    • samber/lo
    • duke-git/lancet
  • Caching Package
    • go-redis
  • AWS integration Package
    • aws-sdk-go
  • Documentation Package
    • go-swagger
  • Terminating thoughts

For each of these packages, I've added a short summary, examples with use cases, and benefits to help you learn more.

Please drop a comment if you think we should include any package here. I would like to add up the same if it can be helpful to the developers.

Enjoyed the preview? Head over to the Canopas Blog for the complete blog post!

Sentry blog image

How to reduce TTFB

In the past few years in the web dev world, we’ve seen a significant push towards rendering our websites on the server. Doing so is better for SEO and performs better on low-powered devices, but one thing we had to sacrifice is TTFB.

In this article, we’ll see how we can identify what makes our TTFB high so we can fix it.

Read more

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay