An open API service indexing awesome lists of open source software.

https://github.com/researchlab/gbp

Golang Best Practices (GBP™)
https://github.com/researchlab/gbp

channel concurrency defer gbp golang-best-practices reflect

Last synced: 3 months ago
JSON representation

Golang Best Practices (GBP™)

Awesome Lists containing this project

README

          

# Golang Best Practices (GBP™)

[![Software License](https://img.shields.io/badge/License-MIT-orange.svg?style=flat-square)](https://github.com/researchlab/gbp/blob/master/LICENSE.md) [![Lines of Code](https://sonarcloud.io/api/project_badges/measure?project=researchlab_gbp&metric=ncloc)](https://sonarcloud.io/dashboard?id=researchlab_gbp) [![Maintainability Rating](https://sonarcloud.io/api/project_badges/measure?project=researchlab_gbp&metric=sqale_rating)](https://sonarcloud.io/dashboard?id=researchlab_gbp) [![Security Rating](https://sonarcloud.io/api/project_badges/measure?project=researchlab_gbp&metric=security_rating)](https://sonarcloud.io/dashboard?id=researchlab_gbp)

Best Golang Practices along with the detailed samples.

> 为便于检索, 将主要目录归类如下

## 语言特性

- [channel](channel)
- [concurrency](concurrency-patterns)
- [copy](copy)
- [defer](defer)
- [generics](generics)
- [goroutine](goroutine)
- [reflect](reflect)
- panic
- recover
- mutex
- timer

## 中间件实践

- [rabbitmq](rabbitmq)
- [redis](redis)
- etcd
- mysql
- nsq

## 第三方库实践

- [gin](gin/README.md)
- cobra
- graphql