ランキングに戻る

pibigstar/go-demo

Gopibigstar.github.io

Go语言实例教程从入门到进阶,包括基础库使用、设计模式、面试易错点、工具类、对接第三方等

goblockchaingoutilsdesigngo-designossrediskafakaspiderqqinterviewgo-utils
スター成長
スター
2.7k
フォーク
479
週間成長
Issue
1
1k2k
2018年9月2021年4月2023年12月2026年7月
成果物Go Modulesgo get github.com/pibigstar/go-demo
README

Go语言学习

Build Status Code Coverage Go Report Card License go-demo

  • base: Go语言基础
  • pprof: Go性能分析
  • design: Go实现常用设计模式
  • interview: Go面试题及详解
  • sdk: Go对接第三方工具(mqtt、elastic、kafka...)
  • utils: GoWeb开发常用工具类
  • blockchain: Go实现一个简单的区块链
  • proxy: Go实现内网穿透工具
  • spider: Go实现爬虫(QQ协议登录,QQ自动领礼物)
  • leetcode: Go实现LeetCode中的算法题

项目结构

展开查看

├─base
│  ├─context
│  ├─csv
│  ├─file
│  ├─flag
│  ├─goroutine
│  ├─http
│  │  ├─get_post
│  │  ├─restful
│  │  ├─server
│  │  └─url
│  ├─json
│  ├─mail
│  ├─mysql
│  ├─net
│  │  ├─client
│  │  └─server
│  ├─reflect
│  ├─regexp
│  ├─shell
│  ├─sort
│  ├─string
│  ├─sync
│  │  └─atomic
│  ├─time
│  ├─xml
│  └─zip
│      └─test
├─blockchain
│  ├─core
│  └─server
├─design
│  ├─adaptor
│  ├─chain
│  ├─decorator
│  ├─facade
│  ├─factory
│  │  ├─abstract
│  │  └─simple
│  ├─observer
│  ├─proxy
│  ├─singleton
│  ├─strategy
│  └─template
├─interview
│  ├─handpick
│  └─others
├─leetcode
│  ├─difficulty
│  ├─medium
│  └─simple
├─sdk
│  ├─alipay
│  ├─elasticsearch
│  ├─kafka
│  ├─mqtt
│  ├─nsq
│  │  ├─nsqio
│  │  └─test
│  ├─oss
│  ├─rabbitmq
│  ├─redis
│  ├─shortdomain
│  ├─sms
│  └─weixin
├─spider
│  ├─agent
│  ├─gift
│  │  ├─auto
│  │  └─hand
│  └─qq
│      ├─client
│      └─server
└─utils
    ├─cmp
    ├─cron
    ├─disk
    ├─encrypt
    ├─error
    ├─images
    ├─ip
    │  └─address
    ├─markdown
    ├─metadata
    ├─mock
    ├─multiconfig
    ├─name
    ├─pool
    ├─qrcode
    ├─rand
    ├─retry
    ├─seq
    ├─token
    ├─word
    └─xlsx

交流 && 疑问

如果有任何错误或不懂的地方欢迎给我提 issue

如果对你有所帮助,请给个Star,你的支持,是我最大的动力。

JetBrains OS licenses

go-demo had been being developed with GoLand under the free JetBrains Open Source license(s) granted by JetBrains s.r.o., hence I would like to express my thanks here.

関連リポジトリ
avelino/awesome-go

A curated list of awesome Go frameworks, libraries and software

GoGo ModulesMIT Licensegolanggolang-library
awesome-go.com
178.8k13.4k
ollama/ollama

Get up and running with Kimi-K2.6, GLM-5.2, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models.

GoGo ModulesMIT Licensellamallm
ollama.com
176.6k17.1k
golang/go

The Go programming language

GoGo ModulesBSD 3-Clause "New" or "Revised" Licenseprogramming-languagelanguage
go.dev
135.3k19.3k
kubernetes/kubernetes

Production-Grade Container Scheduling and Management

GoGo ModulesApache License 2.0kubernetesgo
kubernetes.io
123.9k43.7k
fatedier/frp

A fast reverse proxy to help you expose a local server behind a NAT or firewall to the internet.

GoGo ModulesApache License 2.0proxyreverse-proxy
108.2k15.1k
gohugoio/hugo

The world’s fastest framework for building websites.

GoGo ModulesApache License 2.0gohugo
gohugo.io
89k8.3k
gin-gonic/gin

Gin is a high-performance HTTP web framework written in Go. It provides a Martini-like API but with significantly better performance—up to 40 times faster—thanks to httprouter. Gin is designed for building REST APIs, web applications, and microservices.

GoGo ModulesMIT Licenseservermiddleware
gin-gonic.com
88.9k8.7k
syncthing/syncthing

Open Source Continuous File Synchronization

GoGo ModulesMozilla Public License 2.0synchronizationgo
syncthing.net
86.8k5.4k
junegunn/fzf

:cherry_blossom: A command-line fuzzy finder

GoGo ModulesMIT Licensefzfgo
junegunn.github.io/fzf/
81.9k2.8k
grafana/grafana

The open and composable observability and data visualization platform. Visualize metrics, logs, and traces from multiple sources like Prometheus, Loki, Elasticsearch, InfluxDB, Postgres and many more.

TypeScriptnpmGNU Affero General Public License v3.0grafanamonitoring
grafana.com
75.7k14.3k
caddyserver/caddy

Fast and extensible multi-platform HTTP/1-2-3 web server with automatic HTTPS

GoGo ModulesApache License 2.0goweb-server
caddyserver.com
74.2k4.8k
moby/moby

The Moby Project - a collaborative project for the container ecosystem to assemble container-based systems

GoGo ModulesApache License 2.0dockercontainers
mobyproject.org
71.9k19k