DEV Community

Cover image for 7 GitHub projects to make you a better Go Developer💥
Ankit Anand ✨
Ankit Anand ✨

Posted on

7 GitHub projects to make you a better Go Developer💥

Go is a compiled, concurrent, garbage-collected, statically typed language developed at Google. Go was designed to be an excellent tool for writing large software projects.

According to 2020 stackoverflow developer survey, Go was the 3rd most wanted programming language to learn.

So today, I want to share 7 amazing GitHub projects that will help you become a better Go developer. While some repos can help you have a self-learning path for Go, others can be useful for your workflows.🤓

So let's get started. 👊


Currently building SigNoz - an open-source application performance monitoring tool. Backend of SigNoz is built in Go.

Check out our GitHub repo👇

GitHub logo SigNoz / signoz

SigNoz is an open-source APM. It helps developers monitor their applications & troubleshoot problems, an open-source alternative to DataDog, NewRelic, etc. 🔥 🖥. 👉 Open source Application Performance Monitoring (APM) & Observability tool

SigNoz-logo

Monitor your applications and troubleshoot problems in your deployed applications, an open-source alternative to DataDog, New Relic, etc.

License Downloads GitHub issues tweet

DocumentationReadMe in ChineseReadMe in GermanReadMe in PortugueseSlack CommunityTwitter

SigNoz helps developers monitor applications and troubleshoot problems in their deployed applications. SigNoz uses distributed tracing to gain visibility into your software stack.

👉 You can see metrics like p99 latency, error rates for your services, external API calls and individual end points.

👉 You can find the root cause of the problem by going to the exact traces which are causing the problem and see detailed flamegraphs of individual request traces.

👉 Run aggregates on trace data to get business relevant metrics

screenzy-1644432902955

screenzy-1644432986784

Join our Slack community

Come say Hi to us on Slack 👋

Features:

  • Application overview metrics like RPS, 50th/90th/99th Percentile latencies, and Error Rate
  • Slowest endpoints in your application
  • See exact…

1. Awesome Go

⭐ Github stars: 65.4k

You can call it the encyclopedia of Go programming language. Just bookmark it to come back to whenever you need something in Go. It is a massive curated list of awesome Go frameworks, libraries and software

GitHub logo avelino / awesome-go

A curated list of awesome Go frameworks, libraries and software

Awesome Go

awesome-go

Build Status Awesome Slack Widget Netlify Status Track Awesome List

We use the Golang Bridge community slack for instant communication, follow the form here to join.

awesome-go - Curated list awesome Go frameworks, libraries and software | Product Hunt

Sponsorships:

Special thanks to

Awesome Go has no monthly fee, but we have employees who work hard to keep it running, with money raised we can repay the effort of each person involved! You can see how we calculate our billing and distribution as it is open to the entire community. Want to be

2. Standard Go Project Layout

⭐ Github stars: 24.6k

This repo contains a basic layout for Go application projects. Although it's not an official standard defined by the core Go dev team, it is a set of common historical and emerging project layout patterns in the Go ecosystem.

GitHub logo golang-standards / project-layout

Standard Go Project Layout

Standard Go Project Layout

Translations:

Overview

This is a basic layout for Go application projects. It's not an official standard defined by the core Go dev team; however, it is a set of common historical and emerging project layout patterns in the Go ecosystem. Some of these patterns are more popular than others. It also has a number of small enhancements along with several supporting directories common to any large enough real world application.

If you are trying to learn Go or if you are building a PoC or a simple project for yourself this project layout is an overkill. Start with something really simple instead (a single main.gofile andgo.mod is more than enough). As your project grows keep in mind that it'll be important to make sure your code is well structured…

3. Go kit

⭐ Github stars: 20.5k

Go kit is a programming toolkit for building microservices in Go. Go kit solves common problems in distributed systems and application architecture so you can focus on delivering business value.

GitHub logo go-kit / kit

A standard library for microservices.

Go kit

GitHub Workflow Status GoDev codecov Go Report Card Sourcegraph

Go kit is a programming toolkit for building microservices (or elegant monoliths) in Go. We solve common problems in distributed systems and application architecture so you can focus on delivering business value.

Sponsors

Click on Sponsor, above, for more information on sponsorship.

Motivation

Go has emerged as the language of the server, but it remains underrepresented in so-called "modern enterprise" companies like Facebook, Twitter, Netflix, and SoundCloud. Many of these organizations have turned to JVM-based stacks for their business logic, owing in large part to libraries and ecosystems that directly support their microservice architectures.

To reach its next level of success, Go needs more than simple primitives and idioms. It needs a comprehensive toolkit, for coherent distributed programming in the large. Go kit is a set of packages and best practices, which provide a comprehensive, robust, and…

4. Go Design patterns

⭐ Github stars: 15.4k

This repo contains a curated collection of idiomatic design & application patterns for Go language. You can find patterns like: creational patterns, structural patterns, behavioral patterns, concurrency patterns, messaging patterns.

GitHub logo tmrts / go-patterns

Curated list of Go design patterns, recipes and idioms

Go Patterns
build-status awesome license

A curated collection of idiomatic design & application patterns for Go language.

Creational Patterns

Pattern Description Status
Abstract Factory Provides an interface for creating families of releated objects
Builder Builds a complex object using simple objects
Factory Method Defers instantiation of an object to a specialized function for creating instances
Object Pool Instantiates and maintains a group of objects instances of the same type
Singleton Restricts instantiation of a type to one object

Structural Patterns

Pattern Description Status
Bridge Decouples an interface from its implementation so that the two can vary independently
Composite Encapsulates and provides access to a number of different objects
Decorator Adds behavior to an object, statically or dynamically
Facade Uses one type as an API to a number of others
Flyweight Reuses existing instances of objects with similar/identical state to minimize resource usage
Proxy

5. Learn Go with test-driven development

⭐ Github stars: 14.6k

Go is a good language for learning test-driven development as Go's standard library provides a built-in testing package. This repo has a list of Go fundamentals with examples of test-driven code implementations.

GitHub logo quii / learn-go-with-tests

Learn Go with test-driven development

Learn Go with Tests

Art by Denise

Go Report Card

Formats

Translations

Support me

I am proud to offer this resource for free, but if you wish to give some appreciation:

Why

Table of contents

Go fundamentals

  1. Install Go - Set up environment for productivity.
  2. Hello, world - Declaring variables, constants, if/else statements, switch, write your first go program and write your first test. Sub-test syntax and closures.
  3. Integers - Further Explore…

6. The Ultimate Go Study Guide

⭐ Github stars: 14.3k

The Ultimate Go Study Guide is a collection of notes for students taking the Ultimate Go class. It is compiled of sample programs with line-by-line comments to help students follow the code better. You will find the link to the repo's content in readme.md file.


7. 1000+ Hand-crafted Go examples, exercises and quizzes

⭐ Github stars: 9.8k

Inside this repository, you will find thousands of Go examples, exercises and quizzes.

GitHub logo inancgumus / learngo

1000+ Hand-Crafted Go Examples, Exercises, and Quizzes

A Huge Number of Go Examples, Exercises and Quizzes

Best way of learning is doing. Inside this repository, you will find thousands of Go examples, exercises and quizzes. I initially created this repository for my Go: Bootcamp Course. Later on, I added a lot of exercises, and I wanted every programmer who is not yet enrolled in the course to learn for free as well. So here it is. Enjoy.

Available in the following languages:

❤️ Help other fellow developers

Sharing is free but caring is priceless. So, now please click here and share this repository on Twitter.

Stay in touch


License


I hope you enjoyed this list. I will be coming up with more such amazing resources soon. So, stay tuned! 🙂

Top comments (9)

Collapse
 
biros profile image
Boris Jamot ✊ / • Edited

Russ Cox himself bewares that the "Standard Go Project Layout" is really not a standard:

this is not a standard Go project layout #117

rsc avatar
rsc posted on

The README makes clear that this is not official, but even the claim "it is a set of common historical and emerging project layout patterns in the Go ecosystem" is not accurate.

For example, the vast majority of packages in the Go ecosystem do not put the importable packages in a pkg subdirectory. More generally what is described here is just very complex, and Go repos tend to be much simpler.

It is unfortunate that this is being put forth as "golang-standards" when it really is not. I'm commenting here because I am starting to see people say things like "you are not using the standard Go project layout" and linking to this repo.

I've been using this layout for 3 years but I've reconsidered the question...

Collapse
 
envitab profile image
Ekemini Samuel

Thanks for sharing, Ankit.

Collapse
 
srg profile image
Serge

Unpopular opinion the "Standard Go Project Layout" is just in my opinion a total mess (with many different folders having different kind of contents, all staying in the same place at the root). It's very surprising for such a chaotic organization to be considered as the de-facto standard.

Collapse
 
josemiguelo profile image
José Miguel Ochoa

Thanks! Pretty useful since I'm learning Go and still a newbie.

Collapse
 
ankit01oss profile image
Ankit Anand ✨

You're welcome :)

Collapse
 
talk2sohail profile image
Sohail

Thanks. I found the 4rth one usefull for me.

Collapse
 
ankit01oss profile image
Ankit Anand ✨

You're welcome Sohail :)

Collapse
 
rishiyadav1923 profile image
rishiyadav1923

Can we consider Uber style guide here I think it is also good, want to if something better is available

Collapse
 
baksman profile image
ibrahim Shehu

u forgot to add this github.com/mrekucci/epi 😅