goland
goland *.http
- 思维导图
go语言知识点,基础
78_Golang 入门笔记 思维导图模板_ProcessOn思维导图、流程图
golang 知识全解 思维导图模板_ProcessOn思维导图、流程图
标准库
目录 - 《Go语言标准库(The Golang Standard Library by Example)》 - 书栈网 · BookStack

CLI
link command - cmd/link - Go Packages
开业笔记
guyan0319/golang_development_notes: golang development notes go语言开发笔记 (github.com)
- 编码规范
xxjwxc/uber_go_guide_cn: Uber Go 语言编码规范中文版. The Uber Go Style Guide . (github.com)
Comprehensive Guide to Testing in Go | The GoLand Blog (jetbrains.com)
go command - cmd/go - Go Packages
- golang 官网
The Go Programming Language (google.cn)
查询手册:
Quick Reference & Quick Reference
菜鸟教程:
Quick Reference - 开发人员速查表 (gy328.com)
Makefile:
GitHub - xyproto/sdl2-examples: SDL2 examples, for 25+ different programming languages
GitHub - thockin/go-build-template: A Makefile/Dockerfile example for Go projects.
Makefiles with Go - Golang Docs
CMake:
基于CMake构建标准GoLang编译和打包框架 | 笔迹-工匠之芯 (icorer.com)
- golang 标准库
Standard library - Go Packages
Go语言标准库 - Go语言中文网 - Golang中文社区 (studygolang.com)
常用标准库 · Go语言中文文档 (topgoer.com)
Go语言标准库文档中文版 | Go语言中文网 | Golang中文社区 | Golang中国 (studygolang.com)
- golang 在线教程
Go 语言进阶学习书籍有哪些值得推荐? - 知乎 (zhihu.com)
《培训-golang-高级编程》 | Go 技术论坛 (learnku.com)
首页 | Golang中文学习文档 (halfiisland.com)
Go 语言设计与实现 | Go 语言设计与实现 (draveness.me)
《Go 入门指南》 | Go 技术论坛 (learnku.com)
Changkun Ou | Go 语言原本 (golang.design)
枫枫知道个人博客|首页 (fengfengzhidao.com)
golang 趣味指南随书代码
golang 并发编程
overnote/over-golang: Golang相关:[审稿进度80%]Go语法、Go并发思想、Go与web开发、Go微服务设施等 (github.com)
go-talent/12.并发编程.md at master · datawhalechina/go-talent (github.com)
weirubo/go-concurrent: Golang 并发编程 (github.com)
Golang 并发编程 | Hedon (hedon954.github.io)
golang 项目布局
【必看】标准的 Go 项目布局 - 掘金 (juejin.cn)
golang mod package 校验错误
解决使用go mod和git管理代码导致的go.sum校验和不匹配问题_go.sum不匹配-CSDN博客
go 交叉编译:windows
“‘GOOS”不被识别为内部或外部命令、可操作的程序或批处理文件。-腾讯云开发者社区-腾讯云 (tencent.com)
golang在windows环境下build生成linux程序 - 知乎 (zhihu.com)
Golang windows下 交叉编译 - 牛奔 - 博客园 (cnblogs.com)
go - 构建时的 GCC 未定义引用_Stack Overflow中文网
go 博客
Golang TCP Server and Client Example [Tutorial] | GoLinuxCloud
- 硬件信息
- 中介者
- 资源信息
shirou/gopsutil: psutil for golang (github.com)
- com 绑定
github.com/go-adsi/ads… github.com/scjalliance… github.com/go-ole/go-o…
- PLC
- orm
gorm
ent
ent/ent: An entity framework for Go (github.com)
xorm
XORM - Simple and Powerful ORM for Go
- lua
- c#
- golang dynamic
traefik/yaegi: Yaegi is Another Elegant Go Interpreter (github.com)
- golang 内嵌脚本语言 go embed script
Golang最好用的内嵌脚本语言是哪个? - 知乎 (zhihu.com)
traefik/yaegi: Yaegi is Another Elegant Go Interpreter (github.com)
risor-io/risor: A fast and flexible embedded scripting language for Go projects. (github.com)
d5/tengo: A fast script language for Go (github.com)
expr-lang/expr: Expression language and expression evaluation for Go (github.com)
纯go 实现的 js 脚本解析器
dop251/goja: ECMAScript/JavaScript engine in pure Go (github.com)
- 规则引擎
- linq
ahmetb/go-linq: .NET LINQ capabilities in Go (github.com)
- goroutine pool
- plugin
- go-plugin
hashicorp 开源go-plugin构建go的插件系统 - 知乎 (zhihu.com)
hashicorp/go-plugin: Golang plugin system over RPC. (github.com)
how debug plugin ?
how do debug plugin · Issue #194 · hashicorp/go-plugin (github.com)
goland进阶-调试本地进程 - GO语言笔记 - SegmentFault 思否
- 编译生成无优化的程序
- 附加进程进行调试
具体做法:
- plugin 使用无优化编译
- 主进程与plugin进程分别开其一个goland项目
- 主进程,直接调试
- plugin 使用 附加进程的方式调试
无优化编译:
go build -gcflags="all=-N -l" -o ~/my-plugin main.go
- NET go-plugin
adding go-plugin example using C# by ebekker · Pull Request #102 · hashicorp/go-plugin (github.com)
参考:
hashicorp go-plugin构建golang插件系统_hashicrop go-plugin_编程实战营的博客-CSDN博客
- engine
- dapr
- darp api gateway 结合
Dapr 集成 APISIX 做API网关 - 张善友 - 博客园 (cnblogs.com)
- go dapr demo
haobiaosheng/dapr-demo-go: dapr-demo with go (github.com)
- dapr apisix
geffzhang/apisix-and-dapr: 部署集成Dapr的apisix (github.com)
Enable Dapr with Apache APISIX Ingress Controller | Dapr Blog
- IOC
- Cassandra
- API Gateway
- api gateway 选型
微服务api gateway选择tyk还是kong,或者其他方案? - 知乎 (zhihu.com)
Apache APISIX® -- Cloud-Native API Gateway
告别 Lua、Go、Wasm 插件,是时候用低代码 API 网关了 - 知乎 (zhihu.com)
- 日志
- 库推荐
golang 好用的log库有哪些? - 知乎 (zhihu.com)
- 日志库
uber-go/zap: Blazing fast, structured, leveled logging in Go. (github.com)
- 数据中心-服务注册与发现
- 并发库
sourcegraph/conc: Better structured concurrency for go (github.com)
- 工具库
duke-git/lancet: A comprehensive, efficient, and reusable util function library of Go. (github.com)
- go 相对路径
golang 文件操作时相对路径问题_golang 相对路径-CSDN博客
filepath package - path/filepath - Go Packages
Go path/filepath文件路径操作 - -零 - 博客园 (cnblogs.com)
- 性能分析工具
google/pprof: pprof is a tool for visualization and analysis of profiling data (github.com)
- GUI 系列库
go-graphics/go-gui-projects: A list of Go GUI projects (github.com)
- go-flutter
- 内存数据库
hashicorp/go-memdb:建立在不可变基数树上的 Golang 内存数据库 (github.com)
- 内存缓存
- 通用配置viper
spf13/viper: Go configuration with fangs (github.com)
cristalhq/aconfig: Simple, useful and opinionated config loader. (github.com)
- wails 可视化拖拽UI
duolabmeng6/GoEasyDesigner: 这是一个强大的窗口可视化设计项目,旨在满足多平台需求,包括Windows、macOS和Linux。 (github.com)
- 服务注册与发现
- go consul demo
janlely/consul-go-grpc-demo: 用consul做grpc的服务注册与发现,示例代码 (github.com)
- go consule demo 博客
consul的基本使用---golang - 掘金 (juejin.cn)
对应demo,看这个呀
kRpc/feature/consul_demo at master · wuhuZhao/kRpc (github.com)
- go 程序单例运行
windows - Restricting to Single Instance of Executable with Golang - Stack Overflow
- go net 库
- go 微服务
go-micro/go-micro: A Go microservices framework (github.com)
- 配置中心
stack-labs/XConf: 分布式配置中心 (github.com)
go-chassis/go-archaius: a dynamic configuration framework used in distributed system (github.com)
- 微服务
weaver/docs at main · ServiceWeaver/weaver · GitHub
- cgo
go command - cmd/go - Go Packages
cgo command - cmd/cgo - Go Packages
微服务后台管理
- go 导出动态库、生成lib
go程序生成windows平台下dll和lib方法_go 生成 .lib-CSDN博客
- go s7 协议
robinson/gos7: Implementation of Siemens S7 protocol in golang (github.com)
Kowiste/ProfinetServer (github.com)
wwhai/profinet-server-emulator (github.com)
- 配置(yaml|json|env)
器 | Go四种方式读取环境配置文件 - 掘金 (juejin.cn)
- toml
令人崩溃的yaml(yml配置)对比properties、json、TOML_yaml 解析器对比-CSDN博客
- sql 生成
Compile SQL to type-safe code | sqlc.dev
- web framework
labstack/echo: High performance, minimalist Go web framework (github.com)
- go 脚手架
go-nunu/nunu: A CLI tool for building Go applications. (github.com)
lacion/cookiecutter-golang: A Go project template (github.com)
- go ioc
google/wire: Compile-time Dependency Injection for Go (github.com)
- mqtt
mqtt server
mqtt client rpc
eclipse-paho/paho.golang: Go libraries
- 工具库
duke-git/lancet: A comprehensive, efficient, and reusable util function library of Go. (github.com)
jinzhu/copier: Copier for golang, copy value from struct to struct and more (github.com)
Bunny3th/easy-workflow: GO语言开发的简单易用工作流 (github.com)
- 静态分析工具
uber-go/nilaway: Static analysis tool to detect potential nil panics in Go code (github.com)
- 无 cgo 调用 c
ebitengine/purego (github.com)
c 结构体解析
JupiterRider/ffi: A purego binding for libffi. (github.com)
- 国际化
json→arb
leancodepl/poe2arb: POEditor JSON to Flutter ARB converter (github.com)
- protobuf
bufbuild/protovalidate-go: Protocol Buffer Validation for Go (github.com)
bitquery/protobuf-sql: Protoc plugin to generate SQL from proto files (github.com)
jackskj/carta: SQL data mapper for Go (github.com)
tcncloud/protoc-gen-persist: GRPC SQL and Spanner persistence layer (github.com)
- duckdb
davidgasquez/awesome-duckdb: 🦆 A curated list of awesome DuckDB resources (github.com)
导出工具:
- Copier mapper
jinzhu/copier: Copier for golang, copy value from struct to struct and more (github.com)
- json
sonic 不支持 loongarch64 risvc64
bytedance/sonic: A blazingly fast JSON serializing & deserializing library (github.com)
goccy/go-json: Fast JSON encoder/decoder compatible with encoding/json for Go (github.com)
json转struct
twpayne/go-jsonstruct: Generate Go structs from multiple JSON or YAML objects. (github.com)
- gin
- sqlbuilder
go 拼接sql
go 参考项目
go 知识点
- context
深入理解Golang之context (zhihu.com)
数据库
- duckDb
DuckDB - An in-process SQL OLAP database management system
驱动:
alifiroozi80/duckdb: GORM duckdb driver
无cgo
scottlepp/go-duck: A Golang DuckDB library that doesn't require CGO (github.com)
GitHub - beswarm/duckdb-driver: DuckDB driver for gorm.io.
nirdosh17/go-service-with-duckdb: Sample containerized Go service using DuckDB (github.com)
scottlepp/go-duck: A duck db driver that doesn't require CGO (github.com)
迁移:
教程:
A Comprehensive Guide for Using DuckDB With Go | HackerNoon
duckdb restful crud :
senthilsweb/duckdb-data-api: Data API and micro orm for DuckDB and MotherDuck (github.com)
duckdb 数据分析,取代spark
duckdb/dbt-duckdb: dbt (http://getdbt.com) adapter for DuckDB (http://duckdb.org) (github.com)
duckdb 相关资料汇总
davidgasquez/awesome-duckdb: 🦆 A curated list of awesome DuckDB resources (github.com)
- sqlite
- database sql
介绍 | Go database/sql 指南 (meilihao.github.io)
Go database/sql 教程 - 知乎 (zhihu.com)
在 Go 中如何使用 database/sql 来操作数据库 - 知乎 (zhihu.com)
- 数据库迁移工具
golang-migrate/migrate: Database migrations. CLI and Golang library. (github.com)
pressly/goose: A database migration tool. Supports SQL migrations and Go functions. (github.com)
rubenv/sql-migrate: SQL schema migration tool for Go. (github.com)
ariga/atlas: Manage your database schema as code (github.com)
go-gormigrate/gormigrate: Minimalistic database migration helper for Gorm ORM (github.com)
日志收集系统
- 日志收集系统 选型推荐
哪一个开源的日志收集系统比较好? - 知乎 (zhihu.com)
轻量级日志系统Loki原理简介和使用 - 知乎 (zhihu.com)
- 开源日志收集系统
Fluentd | Open Source Data Collector | Unified Logging Layer
Grafana Loki OSS | Log aggregation system
GRPC
工具
api 调试工具
Apifox - API 文档、调试、Mock、测试一体化协作平台 - 接口文档工具,接口自动化测试工具,接口Mock工具,API文档工具,API Mock工具,API自动化测试工具
git
Git版本控制及Goland使用Git教程_goland配置git-CSDN博客
协议包
modbus
simonvetter/modbus: Go modbus stack (client and server) (github.com)