finds.dev← search

// the find

xinliangnote/Go

★ 4,935 · Go · updated Apr 2024

【Go 从入门到实战】学习笔记,从零开始学 Go、Gin 框架,基本语法包括 26 个Demo,Gin 框架包括:Gin 自定义路由配置、Gin 使用 Logrus 进行日志记录、Gin 数据绑定和验证、Gin 自定义错误处理、Go gRPC Hello World... 持续更新中...

A Chinese-language learning repository covering Go basics and the Gin web framework, organized as numbered markdown notes with runnable demo files. It's aimed at Go beginners, particularly Chinese-speaking developers coming from other languages who want a structured ramp-up.

The progression from syntax basics through channels, defer, and sync primitives to Gin middleware is sensibly ordered — you can follow it linearly without jumping around. The demo files (26 of them) are standalone and runnable, which is more useful than copy-paste snippets in markdown. The Gin section covers real concerns like structured logging with Logrus, request validation, and panic recovery middleware, not just 'hello world' routing. There's a companion production-grade project (go-gin-api) linked for when the tutorials run out.

Last updated April 2024, and the Gin examples use Gopkg (dep) for dependency management — Go modules have been standard since 1.13, so you'd need to translate that before running anything. The content is entirely in Chinese with no English translation, which cuts out a large audience and makes the repo invisible to most GitHub searches. Coverage stops before anything production-relevant: no testing, no context propagation, no graceful shutdown, no deployment. The gRPC section is a single hello-world with no streaming examples, which is where gRPC actually gets interesting.

View on GitHub →

// want more like this?

We dig through GitHub every week and send a few repos picked for what you actually care about — each with an honest take like this one.

Get finds in your inbox → Search again →