• Stars
    star
    343
  • Rank 118,774 (Top 3 %)
  • Language
  • License
    The Unlicense
  • Created almost 10 years ago
  • Updated almost 3 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

@unknwon's opinionated and paranoid Go code convention.

Go Code Convention

This is a 100% opinionated and paranoid code convention for the Go Programming Language by @unknwon. It may or may not be compatible with Go Code Review Comments, or any other guidelines out there. That's fine, that is neither mine nor your problem.

Be sure to always remember, "尽信书不如无书".

For non-Chinese readers, what does 尽信书不如无书 mean?


Ready? OK, pick one you like:

Roadmap for current version

  • Overhaul exsiting content for en-US
  • Add more pages about:
    • Linting
    • Database layer construction and testing
    • Error wrapping
    • Dependency injection
    • TBD
  • Re-translated everything from en-US to zh-CN

Notes about v1

The v1 was originally drafted back in 2015, and majority of the content hasn't been updated since. As of 2021, after another 6 years working with Go, some of aspects already feel outdated for me, especially I've learned more practices by working with amazing people. I would love to have these practices documented so I can reference back.

License

This project is under the Unlicense License. See the LICENSE file for the full license text.

More Repositories

1

the-way-to-go_ZH_CN

《The Way to Go》中文译本,中文正式名《Go 入门指南》
Go
34,138
star
2

go-fundamental-programming

《Go 编程基础》是一套针对 Google 出品的 Go 语言的视频语音教程,主要面向新手级别的学习者。
Go
8,918
star
3

go-study-index

Go 语言学习资料索引
6,245
star
4

go-web-foundation

《Go Web 基础》是一套针对 Google 出品的 Go 语言的视频语音教程,主要面向完成《Go 编程基础》教程后希望进一步了解有关 Go Web 开发的学习者。
Go
2,674
star
5

go-rock-libraries-showcases

《Go名库讲解》是一套针对 Google 出品的 Go 语言的第三方库进行评测讲解的集博客、示例与语音视频为一体的综合教程,适合完成学习完成《Go编程基础》教程的学习者。
Go
1,607
star
6

com

This is an open source project for commonly used functions for the Go programming language.
Go
756
star
7

gowalker

Go Walker is a server that generates Go projects API documentation on the fly.
Go
661
star
8

goconfig

Package goconfig is a fully functional and comments-support configuration file (.ini) parser.
Go
605
star
9

building-web-applications-in-go

Go 语言 Web 应用开发系列教程,从新手到双手残废
Go
575
star
10

bra

Bra (Brilliant Ridiculous Assistant) is a command line utility tool.
Go
397
star
11

gcblog

An open source project for Golang China blog.
Go
104
star
12

i18n

Package i18n is for app Internationalization and Localization.
Go
84
star
13

qiniudrive

七牛云盘是基于七牛开放 API 构建的第三方同步程序
C#
71
star
14

paginater

Package paginater is a helper module for custom pagination calculation.
Go
48
star
15

flamego-basics

《Flamego 框架基础》是一套针对 Go 语言 Web 框架 Flamego 出品的视频语音教程,主要面向 Web 应用开发者
Go
46
star
16

cae

Package cae implements PHP-like Compression and Archive Extensions.
Go
37
star
17

go-import-server

HTTP server for canonical "go get" import path
Go
33
star
18

orbiter

Orbiter is a tool for collecting and redistributing webhooks over the network.
Go
20
star
19

leetcode.go

My Golang solutions to https://leetcode.com/
Go
19
star
20

wam

wam(Weibo Automated Management) - Golang中国微博自动化管理程序
Go
19
star
21

CharmControlLibrary

C# GDI+ 实现的伪子类化控件类库
C#
17
star
22

labeler

Labeler is a CLI tool to sync labels for a GitHub repository with templates.
Go
12
star
23

figo

Fig(http://fig.sh) in Go.
Go
11
star
24

log

Package log is a dead simple, levelable, colorful logging library.
Go
9
star
25

docker-sync-to-aliyun

Sync Docker images to Aliyun's registry
8
star
26

gopha

gopha is a package for implementation of Perceptual Hash Algorithm in Go programming language.
Go
8
star
27

sublite

SubLite is a theme converter from Sublime Text to LiteIDE.
Go
7
star
28

unknwon

Go
5
star
29

rods

The collection of RODs written by @unknwon for researching and describing engineering efforts.
5
star
30

Project-Spartan

The Project Spartan is a hybrid-infrastructure and research-oriented HA (High Availability) prototype for IT 485.
JavaScript
4
star
31

fws

Fibonacci Web Server
Go
2
star
32

unknwon.cn

SCSS
1
star
33

sublime-sourcegraph-theme

Sourcegraph Color Scheme for SublimeText 3.
1
star
34

buildkite-flaky-reporter

HTTP server for reporting flaky tests and cancellation on Buildkite
Go
1
star