├── README.md └── main.go /README.md: -------------------------------------------------------------------------------- 1 | # golangFamily 2 | 【超全golang面试题合集+golang学习指南+golang知识图谱+成长路线】 一份涵盖大部分golang程序员所需要掌握的核心知识。 3 | 4 | 5 |

6 | 公众号 7 | 公众号 8 | 投稿 9 | 投稿 10 | 博客 11 | 12 | 13 |

14 | 15 | ![](https://cdn.jsdelivr.net/gh/xiaobaiTech/image/%E5%90%8E%E7%AB%AF%E6%88%90%E9%95%BF%E8%B7%AF%E7%BA%BF.png) 16 | 17 | 18 | [脑图持续不断更新中,在线查看地址](https://www.processon.com/view/link/5ff500aa1e08531de81e1288) 19 | 后续文章和内容会不断更新到 [github项目](https://github.com/xiaobaiTech/golangFamily) 中,欢迎关注。 20 | 21 | 22 |
23 | 大家好,我是小白。大家知道,我一直以来都是golang的忠实粉丝,在学习和参与面试的过程中遇到过很多golang的问题。 24 | 25 | 最近花了些时间整理了一下后端程序员成长路线和高频面试题,这是一份涵盖大部分后端程序员所需要掌握的**核心知识**。 26 | 27 | 这些面试题从**能力模型上对标字节资深后端开发**,因为字节主要使用GO语言,因此语言方面的面试题,主要是面向go相关的题目。但除了语言这块,其他中间件和工程能力相关的面试题,**对于所有后端开发都适用!!** 28 | 29 | ![](https://cdn.jsdelivr.net/gh/xiaobaiTech/image/image-20220314193617293.png) 30 | 31 | 32 | 面试题集PDF还会**不断迭代更新**,后续最新版本都会在我的个人公众号「**小白debug**」里第一时间发布! 33 | 34 | 在公众号里回复【**面试**】即可获得!! 35 | 36 | 如果大家看完电子书,觉得内容还不错,强烈希望大家能在**微信公众号**里搜索关注,并**星标**我的公众号,第一时间获取最新更新内容! 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 还有**技术划水【交流群】**,点击公众号右下角【**联系我**】或**扫描以下二维码**,备注“**进群**”,欢迎大家进群交流~。 45 | 46 | 如果大家对网络基础感兴趣的话,公众号里也有非常多相关的文章,也欢迎关注收看哈。**图解网络相关**的文章,已经重新整理成一份的电子书。**在公众号内回复【网络】,就可以获得整理的PDF电子书。** 47 | 48 | 49 | 50 | 同时我也为公众号粉丝准备了一些学习资料,关注公众号并回复【**go**】、【**操作系统**】、【**网络**】即可获得相应学习资料! 51 | 并且,学习资料也会**不断更新**,后续会根据读者需求整理更多相关资源,有需要的读者也可以在公众号内留言。 52 | 53 |
54 | 55 | 56 | 57 |
58 | 59 | ### 最后 60 | - 不满足于看八股文,可以尝试拿着岗位要求来进行ai押题。[押题宝](https://yatibao.debuger.top/) 61 | - 基础不牢,缺乏实战项目,**想快速成为中大厂Go/Java工程师**?后端训练营了解一下。[后端训练营介绍文档](https://bds8bsueoz.feishu.cn/docx/Soo1dyKwJovEjcx95RbcixCqnmh) 62 | - 欢迎大家访问我的**博客** [点这里 https://xiaobaidebug.top](https://xiaobaidebug.top/)。 63 | - 欢迎大家访问我的**B站** [点这里](https://space.bilibili.com/302188068) 。 64 | - 欢迎大家访问我新做的**工具站点** [图片翻译photo-translate](https://www.photo-translate.top) 。 65 | - 在公众号内回复【**面试**】,可以获得整理的**golang面试PDF电子书**,适合快速备战面试查漏补缺。 66 | - 在公众号内回复【**网络**】,可以获得整理的**图解PDF电子书**,适合巩固基础。 67 | - 在公众号内回复【**视频**】,可以获得整理的有趣好玩的**视频教程**,适合小白上路。 68 | 69 | 70 | 71 | 72 | 73 | 74 | # 目录(善用Ctrl+F) 75 | 76 | - 基础入门 77 | - 新手 78 | - [Golang开发新手常犯的50个错误](https://blog.csdn.net/gezhonglei2007/article/details/52237582) 79 | - 数据类型 80 | - [连nil切片和空切片一不一样都不清楚?那BAT面试官只好让你回去等通知了。](https://mp.weixin.qq.com/s/cp0xed7fC9uU0te00J8GIQ) 81 | - [golang面试题:字符串转成byte数组,会发生内存拷贝吗?](https://mp.weixin.qq.com/s/Iol3UnphVtBwGyLd-tHz9w) 82 | - [golang面试题:翻转含有中文、数字、英文字母的字符串](https://mp.weixin.qq.com/s/ayfn4LUy3MHJy37hdRlo3Q) 83 | - [golang面试题:拷贝大切片一定比小切片代价大吗?](https://mp.weixin.qq.com/s/VaM4yJXHYyDyRY0XHIyhpQ) 84 | - map不初始化使用会怎么样 85 | - map不初始化长度和初始化长度的区别 86 | - map承载多大,大了怎么办 87 | - map的iterator是否安全?能不能一边delete一边遍历? 88 | - 字符串不能改,那转成数组能改吗,怎么改 89 | - 怎么判断一个数组是否已经排序 90 | - 普通map如何不用锁解决协程安全问题 91 | - array和slice的区别 92 | - [golang面试题:json包变量不加tag会怎么样?](https://mp.weixin.qq.com/s/vlE0KVOCt_a4nxP_1ar4Ow) 93 | - [golang面试题:reflect(反射包)如何获取字段tag?为什么json包不能导出私有变量的tag?](https://mp.weixin.qq.com/s/IB_hAzxBbAIYdLV7ZIN-sw) 94 | - 零切片、空切片、nil切片是什么 95 | - slice深拷贝和浅拷贝 96 | - map触发扩容的时机,满足什么条件时扩容? 97 | - map扩容策略是什么 98 | - 自定义类型切片转字节切片和字节切片转回自动以类型切片 99 | - make和new什么区别 100 | - slice ,map,chanel创建的时候的几个参数什么含义 101 | - slice,len,cap,共享,扩容 102 | - 线程安全的map怎么实现 103 | - go slice 和 array 区别 104 | - go struct能不能比较? 105 | - map如何顺序读取? 106 | - go中怎么实现set 107 | - map 的扩容机制是什么? 108 | - 使用值为 nil 的 sice、map 会发生什么? 109 | - Golang 有没有 this 指针? 110 | - Golang 语言中局部变量和全局变量的缺省值是什么 111 | - Golang 中的引用类型包含哪些? 112 | - 使用range 迭代 map 是有序的吗? 113 | - slice 的扩容机制是什么? 114 | - Golang 中指针运算有哪些? 115 | - 类型的值可以修改吗? 116 | - 解析 JSON 数据时,默认将数值当做哪种类型 117 | - array 类型的值作为函数参数是引用传递还是值传递? 118 | 119 | 120 | 121 | - 流程控制 122 | - [昨天那个在for循环里append元素的同事,今天还在么?](https://mp.weixin.qq.com/s/DOkdl9B3op4US_qHBLUNNw) 123 | - [golang面试官:for select时,如果通道已经关闭会怎么样?如果只有一个case呢?](https://mp.weixin.qq.com/s/TuuLYgvIkwREDLkALqTMXA) 124 | - go defer(for defer) 125 | - select可以用于什么? 126 | - context包的用途? 127 | - select 可以用于实现哪些功能? 128 | - 在循杯内执行 defer 语句会发生什么? 129 | - switch 中如何强制执行下一个 case 代码块? 130 | - 如何从 panic 中恢复? 131 | 132 | - 进阶 133 | - 包管理 134 | [学go mod就够了!](https://studygolang.com/articles/27293) 135 | 136 | - 优化 137 | - [golang面试题:怎么避免内存逃逸?](https://mp.weixin.qq.com/s/m4pqhfrEclG0vswedkCQ_Q) 138 | - [golang面试题:简单聊聊内存逃逸?](https://mp.weixin.qq.com/s/eqWFbwDcrL3zquEcGLgBGQ) 139 | - [给大家丢脸了,用了三年golang,我还是没答对这道内存泄漏题](https://mp.weixin.qq.com/s/9CZkq-Yc75VDwqjwriZYXA) 140 | - 内存碎片化问题 141 | - chan相关的goroutine泄露的问题 142 | - string相关的goroutine泄露的问题 143 | - [你一定会遇到的内存回收策略导致的疑似内存泄漏的问题](https://colobu.com/2019/08/28/go-memory-leak-i-dont-think-so/) 144 | - sync.Pool的适用场景 145 | - go1.13sync.Pool对比go1.12版本优化点 146 | 147 | 148 | - 并发编程 149 | - [golang面试题:对已经关闭的的chan进行读写,会怎么样?为什么?](https://mp.weixin.qq.com/s/6cgrWfNBLiU8bAwmJY7pGg) 150 | - [golang面试题:对未初始化的的chan进行读写,会怎么样?为什么?](https://xiaobaidebug.top/2020/06/11/golang%E9%9D%A2%E8%AF%95%E9%A2%98/golang%E9%9D%A2%E8%AF%95%E9%A2%98%EF%BC%9A%E5%AF%B9%E6%9C%AA%E5%88%9D%E5%A7%8B%E5%8C%96%E7%9A%84%E7%9A%84chan%E8%BF%9B%E8%A1%8C%E8%AF%BB%E5%86%99%EF%BC%8C%E4%BC%9A%E6%80%8E%E4%B9%88%E6%A0%B7%EF%BC%9F%E4%B8%BA%E4%BB%80%E4%B9%88%EF%BC%9F/) 151 | - sync.map 的优缺点和使用场景 152 | - sync.Map的优化点 153 | - 主协程如何等其余协程完再操作 154 | - 有缓存的channel和没有缓存的channel区别是什么? 155 | - 协程通信方式有哪些? 156 | - channel底层实现 157 | - 读写锁底层是怎么实现的? 158 | - 请你说说golang的CSP思想 159 | - channel 是怎么保证线程安全? 160 | 161 | 162 | - 高级特性 163 | - [golang面试题:能说说uintptr和unsafe.Pointer的区别吗?](https://mp.weixin.qq.com/s?__biz=MzkxNTU5MjE0MQ==&mid=2247492750&idx=1&sn=aafed552e01a3ebb61233f318bc9d6dc&source=41#wechat_redirect) 164 | - [golang 面试题:reflect(反射包)如何获取字段 tag?为什么 json 包不能导出私有变量的 tag?](https://mp.weixin.qq.com/s?__biz=MzkxNTU5MjE0MQ==&mid=2247492754&idx=1&sn=9fb4360da097c81fe733ba48d3aca8a7&source=41#wechat_redirect) 165 | - 协程和线程的差别 166 | - 垃圾回收的过程是怎么样的? 167 | - 什么是写屏障、混合写屏障,如何实现? 168 | - 开源库里会有一些类似下面这种奇怪的用法:`var _ io.Writer = (*myWriter)(nil)`,是为什么? 169 | - [GMP模型](https://zboya.github.io/post/go_scheduler/?hmsr=toutiao.io&utm_medium=toutiao.io&utm_source=toutiao.io) 170 | - [动图图解,GMP里为什么要有P](https://mp.weixin.qq.com/s?__biz=MzkxNTU5MjE0MQ==&mid=2247492776&idx=1&sn=913a442965df4af86182f29fc6b8834d&source=41#wechat_redirect) 171 | - 协程之间是怎么调度的 172 | - gc的stw是怎么回事 173 | - 利用golang特性,设计一个QPS为500的服务器 174 | - 为什么gc会让程序变慢 175 | - 开多个线程和开多个协程会有什么区别 176 | - 两个interface{} 能不能比较 177 | - 必须要手动对齐内存的情况 178 | - [go栈扩容和栈缩容,连续栈的缺点](https://segmentfault.com/a/1190000019570427) 179 | - golang怎么做代码优化 180 | - [golang隐藏技能:怎么访问私有成员](https://www.jianshu.com/p/7b3638b47845) 181 | - 协程可以自己主动让出 CPU 吗? 182 | - 断言时会发生拷贝吗 183 | - 接口是怎么实现的? 184 | - 协程与进程,线程的区别是什么?协程有什么优势? 185 | - 为什么小对象多了会造成 gc 压力? 186 | - 一个协程能保证绑定在一个内核线程上吗? 187 | - 闭包怎么实现的,闭包的主要应用场景 188 | - 两次 GC 周期重叠会引发什么问题,GC 触发机制是什么样的? 189 | - Goroutinue 什么时候会被挂起? 190 | - Data Race 问题怎么检测?怎么解决? 191 | - Golang 触发异常的场景有哪些? 192 | - net/http包中client如何实现长连接? 193 | - net/http怎么做连接池和长链接? 194 | - [golang进阶面试题](https://golangguide.top/golang/%E9%9D%A2%E8%AF%95%E9%A2%98/2.Go%E8%BF%9B%E9%98%B6.html) 195 | 196 | - 问题排查 197 | - [trace](https://mp.weixin.qq.com/s?__biz=MzA4ODg0NDkzOA==&mid=2247487157&idx=1&sn=cbf1c87efe98433e07a2e58ee6e9899e&source=41#wechat_redirect) 198 | - [pprof](https://mp.weixin.qq.com/s/d0olIiZgZNyZsO-OZDiEoA) 199 | - 什么是 goroutine 泄漏? 200 | - 当go服务部署到线上了,发现有内存泄露,该怎么处理 201 | 202 | - 源码阅读 203 | - [sync.map](https://qcrao.com/2020/05/06/dive-into-go-sync-map/) 204 | - net/http 205 | - [i/o timeout , 希望你不要踩到这个net/http包的坑](https://mp.weixin.qq.com/s/7Fl5MuCl-G6wIQQiAqLAKA) 206 | - [mutex](https://mp.weixin.qq.com/s/MntwgIJ2ynOAdwnypWUjZw) 207 | - [channel](https://draveness.me/golang/docs/part3-runtime/ch06-concurrency/golang-channel/?hmsr=toutiao.io&utm_medium=toutiao.io&utm_source=toutiao.io) 208 | - [context](https://draveness.me/golang/docs/part3-runtime/ch06-concurrency/golang-context/) 209 | - [select实现原理](https://mp.weixin.qq.com/s/9-eLJqYZrOpNLoiTGpBrKA) 210 | - main函数背后的启动过程 211 | - [内存管理](https://mp.weixin.qq.com/s?__biz=Mzg2MDU1Mjc3MQ==&mid=2247489860&idx=1&sn=2d3fa235f6768ad5a0c820b6241b9e99&source=41#wechat_redirect) 212 | - [GC垃圾回收](https://segmentfault.com/a/1190000020086769) 213 | - [timer](https://pengrl.com/p/62835/) 214 | - 汇编 215 | - [汇编入门](https://juejin.cn/post/6844903929713524744) 216 | 217 | 218 | - [推荐书籍](#推荐书籍) 219 | - [视频教程](#视频教程) 220 | - 实践常用工具 221 | - [mysql建表语句转golang struct](https://marketplace.visualstudio.com/items?itemName=wandecilenio-martins.ddl-2-go-struct) 222 | - [json转golang struct](https://oktools.net/json2go) 223 | - [toml转golang struct](https://xuri.me/toml-to-go/) 224 | - [yaml转golang struct](https://yaml.to-go.online/) 225 | 226 | - 图解网络基础 227 | - [漫画图解HTTP知识点+面试题](https://golangguide.top/%E8%AE%A1%E7%AE%97%E6%9C%BA%E5%9F%BA%E7%A1%80/%E7%BD%91%E7%BB%9C%E5%9F%BA%E7%A1%80/%E6%A0%B8%E5%BF%83%E7%9F%A5%E8%AF%86%E7%82%B9/%E7%A1%AC%E6%A0%B8%EF%BC%81%E6%BC%AB%E7%94%BB%E5%9B%BE%E8%A7%A3HTTP%E7%9F%A5%E8%AF%86%E7%82%B9_%E9%9D%A2%E8%AF%95%E9%A2%98.html) 228 | - [TCP粘包 数据包:我只是犯了每个数据包都会犯的错](https://golangguide.top/%E8%AE%A1%E7%AE%97%E6%9C%BA%E5%9F%BA%E7%A1%80/%E7%BD%91%E7%BB%9C%E5%9F%BA%E7%A1%80/%E6%A0%B8%E5%BF%83%E7%9F%A5%E8%AF%86%E7%82%B9/TCP%E7%B2%98%E5%8C%85%EF%BC%81%E6%95%B0%E6%8D%AE%E5%8C%85%EF%BC%9A%E6%88%91%E5%8F%AA%E6%98%AF%E7%8A%AF%E4%BA%86%E6%AF%8F%E4%B8%AA%E6%95%B0%E6%8D%AE%E5%8C%85%E9%83%BD%E4%BC%9A%E7%8A%AF%E7%9A%84%E9%94%99%EF%BC%8C%E7%A1%AC%E6%A0%B8%E5%9B%BE%E8%A7%A3.html) 229 | - [30张图带你搞懂!路由器,集线器,交换机,网桥,光猫有啥区别?](https://golangguide.top/%E8%AE%A1%E7%AE%97%E6%9C%BA%E5%9F%BA%E7%A1%80/%E7%BD%91%E7%BB%9C%E5%9F%BA%E7%A1%80/%E6%A0%B8%E5%BF%83%E7%9F%A5%E8%AF%86%E7%82%B9/%E7%A1%AC%E6%A0%B8%E5%9B%BE%E8%A7%A3%EF%BC%8130%E5%BC%A0%E5%9B%BE%E5%B8%A6%E4%BD%A0%E6%90%9E%E6%87%82%EF%BC%81%E8%B7%AF%E7%94%B1%E5%99%A8%EF%BC%8C%E9%9B%86%E7%BA%BF%E5%99%A8%EF%BC%8C%E4%BA%A4%E6%8D%A2%E6%9C%BA%EF%BC%8C%E7%BD%91%E6%A1%A5%EF%BC%8C%E5%85%89%E7%8C%AB%E6%9C%89%E5%95%A5%E5%8C%BA%E5%88%AB%EF%BC%9F.html) 230 | - [既然IP层会分片,为什么TCP层也还要分段?](https://mp.weixin.qq.com/s/7kGFOOIV7-j-44U5RUcLRQ) 231 | - [断网了,还能ping通 127.0.0.1 吗?为什么?](https://mp.weixin.qq.com/s?__biz=MzkxNTU5MjE0MQ==&mid=2247492808&idx=1&sn=491074589ccbd2e972a9ad216c39b46d&source=41#wechat_redirect) 232 | - [连接一个 IP 不存在的主机时,握手过程是怎样的?](https://mp.weixin.qq.com/s?__biz=MzkxNTU5MjE0MQ==&mid=2247492837&idx=1&sn=d85cb3a7e86ab244247f52e282b93954&source=41#wechat_redirect) 233 | - [动图图解!代码执行send成功后,数据就发出去了吗?](https://mp.weixin.qq.com/s?__biz=MzkxNTU5MjE0MQ==&mid=2247492863&idx=1&sn=67009c9e4387c0b789304af9e77cebec&source=41#wechat_redirect) 234 | - [活久见!TCP两次挥手,你见过吗?那四次握手呢?](https://mp.weixin.qq.com/s?__biz=MzkxNTU5MjE0MQ==&mid=2247492883&idx=1&sn=cc526b3a34c30def4d655f05506c2826&source=41#wechat_redirect) 235 | - [动图图解!收到RST,就一定会断开TCP连接吗?](https://mp.weixin.qq.com/s?__biz=MzkxNTU5MjE0MQ==&mid=2247492909&idx=1&sn=a0cdbe6e7497132f96c0d83716888cc5&source=41#wechat_redirect) 236 | - [动图图解!没有accept,能建立TCP连接吗?]([https://mp.weixin.qq.com/s/n17NjGRab1u5eXkOCro1gg](https://mp.weixin.qq.com/s?__biz=MzkxNTU5MjE0MQ==&mid=2247492926&idx=1&sn=b6d254b5aa11ffaae093c919c1b1fab8&source=41#wechat_redirect)) 237 | - [来了来了!小白图解网络电子书和博客都来啦!](https://mp.weixin.qq.com/s?__biz=MzkxNTU5MjE0MQ==&mid=2247492941&idx=1&sn=47c95e0ec6bf3c679073a8fa6f1576fc&source=41#wechat_redirect) 238 | - HTTP 是无状态的吗?需要保持状态的场景应该怎么做? 239 | - 粘包如何解决 240 | - RestFul 是什么?RestFul 请求的 URL 有什么特点? 241 | - 一次url访问会经历哪些过程 242 | - TCP 三次握手以及四次挥手的流程。为什么需要三次握手以及四次挥手? 243 | - TCP的拥塞控制具体是怎么实现的?UDP有拥塞控制吗? 244 | - 是否了解中间人劫持原理 245 | - TCP 与 UDP 在网络协议中的哪一层,他们之间有什么区别? 246 | - HTTP 与 HTTPS 有哪些区别? 247 | - select和epoll区别 248 | - TCP 如何实现数据有序性? 249 | - TCP长连接和短连接有那么不同的使用场景? 250 | - TIME_WAIT时长,为什么? 251 | - 什么是零拷贝? 252 | - HTTP 简述 HTTP 的 keepalive 的原理和使用场景 253 | - Cookie 和 Session 的关系和区别是什么? 254 | - DNS 查询服务器的基本流程是什么?DNS 劫持是什么? 255 | - libevent结构,内部实现 256 | - 简述对称与非对称加密的概念 257 | - epoll中的ET和LT模式 258 | - JWT 的原理和校验机制 259 | - TCP 怎么保证可靠传输? 260 | - 介绍下proactor和reactor 261 | - Accept发生在三次握手哪个阶段 262 | - RPC 的调用过程 263 | - tcp的可靠性体现在哪里 264 | - 如何解决 TCP 传输丢包问题? 265 | - 什么是 ARP 协议?简述其使用场景 266 | - http和https区别 267 | - DDOS 攻击原理,如何防范它? 268 | - 如何防止传输内容被篡改? 269 | - 介绍下滑动窗口 270 | - 三次握手四次握手详细过程,越详细越好 271 | - 什么是中间人攻击?如何防止攻击? 272 | - TCP 半连接发生场景 273 | - reactor的组成 274 | - udp包长度 275 | - IP为什么要分片 276 | - OSI 七层模型,TCP,IP 属于哪一层? 277 | - 数据包乱序会处理? 278 | - 什么是 SYN flood,如何防止这类攻击? 279 | - WebSocket 是如何进行传输的 280 | - 为什么需要序列化?有什么序列化的方式? 281 | - 有chunked的时候contentlength是什么样子 282 | - 如何设计一个可靠的udp 283 | - TCP 中常见的拥塞控制算法有哪些? 284 | - 如何设置非阻塞 285 | - 什么是跨域,什么情况下会发生跨域请求? 286 | - Udp的接收缓冲区和发送缓冲区和tcp的区别 287 | - 什么时候需要TCP四次挥手? 288 | - traceroute 有什么作用? 289 | - HTTP 的方法有哪些? 290 | - TIME_WAIT危害 291 | - select什么情况返回0 292 | - 半连接在哪个阶段 293 | - TCP 的 keepalive 了解吗?说一说它和 HTTP 的 keepalive 的区别? 294 | - 简述常见的 HTTP 状态码的含义(30从系统层面上,UDP 如何保证尽量可靠? 295 | - 指针与引用的区别 296 | - iPv4 和 iPv6 的区别 297 | - 项目中说用到线程池,开多大,为什么运用线程池? 298 | - 如何设计 API 接口使其实现幂等性? 299 | - TCP 的 TIME_WAIT 和 CLOSE_WAIT 300 | - HTTP 报文头部的组成结构 301 | - RestFul 与 RPC 的区别是什么?RestFul 的优点在哪里? 302 | - 从输入 URL 到展现页面的全过程 303 | - 什么是 TCP 粘包和拆包? 304 | - HTTP 中 GET 和 POST 区别 305 | - 讲一下拥塞控制和流量控制 306 | - TCP 协议的延迟 ACK 和累计应答 307 | - TCP 挥手时出现大量 CLOSE_WAIT 或 TIME_WAIT 怎么解决? 308 | - ARP协议工作流程 309 | - tcp与udp的区别以及应用场景 310 | - HTTPS 的加密与认证过程 311 | - TCP 中 SYN 攻击是什么?如何防止? 312 | - HTTP 短链接与长链接的区别 313 | - TCP 的报文头部结构 314 | - http长连接与短连接的区别 315 | - TCP 滑动窗口以及重传机制 316 | - seq为1000,发送了1000个数据,下一个seq是多少? 317 | - chunked块了解?介绍下 318 | - BGP 协议和 OSPF 协议的区别 319 | - 简述在四层和七层网络协议中负载均衡的原理 320 | - http协议格式,几种方法,功能是什么 321 | - syn如果丢了,重传多少次 322 | - epoll可读情况有哪些 323 | 324 | 325 | 326 | - 操作系统 327 | - 创建线程有多少种方式? 328 | - 如何调试服务器内存占用过高的问题? 329 | - 简述操作系统如何进行内存管理 330 | - 简述创建进程的流程 331 | - 简述操作系统中 malloc 的实现原理 332 | - 简述僵尸进程和孤儿进程及其危害和处理 333 | - 两个线程交替打印一个共享变量 334 | - 进程通信中的管道实现原理是什么? 335 | - 简述同步与异步的区别,阻塞与非阻塞的区别 336 | - malloc 创建的对象在堆还是栈中? 337 | - 死锁产生的条件、死锁避免方法 338 | - 进程的三状态模型、五状态模型、七状态模型 339 | - 什么情况下,进程会进行切换? 340 | - Linux 系统态与用户态,什么时候会进入系统态? 341 | - Linux 下如何查看端口被哪个进程占用? 342 | - 共享内存是如何实现的? 343 | - 进程有多少种状态? 344 | - 线程间有哪些通信方式? 345 | - Linux 下如何排查 CPU 以及 内存占用过多? 346 | - 操作系统中,虚拟地址与物理地址之间如何映射? 347 | - CPU L1, L2缓存是什么 348 | - 信号量是如何实现的? 349 | - 什么时候会由用户态陷入内核态? 350 | - Linux 如何查看实时的滚动日志? 351 | - Linux 进程调度的算法 352 | - 简述分页与分段,分页与分段的区别 353 | - Linux 虚拟内存的页面置换算法 354 | - Linux 中虚拟内存和物理内存有什么区别?有什么优点? 355 | - traceroute 命令的原理 356 | - 操作系统是通过什么机制触发系统调用的? 357 | - Linux 零拷贝的原理 358 | - 系统调用的过程是怎样的? 359 | - Linux 的 IO模型有哪些 360 | - 简述自旋锁与互斥锁的使用场景 361 | - 多线程和多进程的区别是什么? 362 | - 简述几个常用的 Linux 命令以及他们的功能 363 | - 进程空间从高位到低位都有些什么? 364 | - 简述缓冲区溢出及其危害 365 | - mmap 的使用场景以及原理 366 | - BIO、NIO 有什么区别?怎么判断写文件时 Buffer 已经写满? 367 | - 线程有多少种状态,状态之间如何转换 368 | - 简述操作系统中的缺页中断 369 | - Linux 下如何查看 CPU 荷载,正在运行的进程,某个端口对应的进程? 370 | - 进程和线程之间有什么区别? 371 | - 进程间有哪些通信方式? 372 | - 为什么进程切换慢,线程切换快? 373 | - 线程从进程继承了哪些资源?线程独享哪些资源? 374 | - Linux 页大小是多少? 375 | - select, poll, epoll 的使用场景以及区别,epoll 中水平触发以及边缘触发有什么不同? 376 | 377 | - 数据库 378 | - 数据库三大范式是什么 379 | - mysql有关权限的表都有哪几个 380 | - MySQL的binlog有有几种录入格式?分别有什么区别? 381 | - mysql有哪些数据类型 382 | - MySQL存储引擎MyISAM与InnoDB区别 383 | - MyISAM索引与InnoDB索引的区别? 384 | - InnoDB引擎的4大特性 385 | - 存储引擎选择 386 | - 什么是索引? 387 | - 索引有哪些优缺点? 388 | - 索引使用场景(重点) 389 | - 索引有哪几种类型? 390 | - 索引的数据结构(b树,hash) 391 | - 索引的基本原理 392 | - 索引算法有哪些? 393 | - 索引设计的原则? 394 | - 创建索引的原则 395 | - 创建索引的三种方式,删除索引 396 | - 创建索引时需要注意什么? 397 | - 使用索引查询一定能提高查询的性能吗?为什么 398 | - 百万级别或以上的数据如何删除 399 | - 前缀索引 400 | - 什么是最左前缀原则?什么是最左匹配原则 401 | - B树和B+树的区别 402 | - 使用B树的好处 403 | - 使用B+树的好处 404 | - Hash索引和B+树所有有什么区别或者说优劣呢? 405 | - 数据库为什么使用B+树而不是B树 406 | - B+树在满足聚簇索引和覆盖索引的时候不需要回表查询数据, 407 | - 什么是聚簇索引?何时使用聚簇索引与非聚簇索引 408 | - 非聚簇索引一定会回表查询吗? 409 | - 联合索引是什么?为什么需要注意联合索引中的顺序? 410 | - 什么是数据库事务? 411 | - 事物的四大特性(ACID)介绍一下? 412 | - 什么是脏读?幻读?不可重复读? 413 | - 什么是事务的隔离级别?MySQL的默认隔离级别是什么? 414 | - 对MySQL的锁了解吗 415 | - 隔离级别与锁的关系 416 | - 按照锁的粒度分数据库锁有哪些?锁机制与InnoDB锁算法 417 | - 从锁的类别上分MySQL都有哪些锁呢?像上面那样子进行锁定岂不是有点阻碍并发效率了 418 | - MySQL中InnoDB引擎的行锁是怎么实现的? 419 | - InnoDB存储引擎的锁的算法有三种 420 | - 什么是死锁?怎么解决? 421 | - 数据库的乐观锁和悲观锁是什么?怎么实现的? 422 | - 为什么要使用视图?什么是视图? 423 | - 视图有哪些特点? 424 | - 视图的使用场景有哪些? 425 | - 视图的优点 426 | - 视图的缺点 427 | - 什么是游标? 428 | - 存储过程与函数 429 | - 什么是存储过程?有哪些优缺点? 430 | - 什么是触发器?触发器的使用场景有哪些? 431 | - MySQL中都有哪些触发器? 432 | - 常用SQL语句 433 | - SQL语句主要分为哪几类 434 | - 超键、候选键、主键、外键分别是什么? 435 | - SQL 约束有哪几种? 436 | - 六种关联查询 437 | - 什么是子查询 438 | - 子查询的三种情况 439 | - mysql中 in 和 exists 区别 440 | - varchar与char的区别 441 | - varchar(50)中50的涵义 442 | - int(20)中20的涵义 443 | - mysql为什么这么设计 444 | - mysql中int(10)和char(10)以及varchar(10)的区别 445 | - FLOAT和DOUBLE的区别是什么? 446 | - drop、delete与truncate的区别 447 | - UNION与UNION ALL的区别? 448 | - 如何定位及优化SQL语句的性能问题?创建的索引有没有被使用到?或者说怎么才可以知道这条语句运行很慢的原因? 449 | - SQL的生命周期? 450 | - 大表数据查询,怎么优化 451 | - 超大分页怎么处理? 452 | - mysql 分页怎么实现 453 | - 慢查询日志怎么看 454 | - 关心过业务系统里面的sql耗时吗?统计过慢查询吗?对慢查询都怎么优化过? 455 | - 为什么要尽量设定一个主键? 456 | - 主键使用自增ID还是UUID? 457 | - 字段为什么要求定义为not null? 458 | - 如果要存储用户的密码散列,应该使用什么字段进行存储? 459 | - 优化查询过程中的数据访问 460 | - 优化长难的查询语句 461 | - 优化特定类型的查询语句 462 | - 优化关联查询 463 | - 优化子查询 464 | - 优化LIMIT分页 465 | - 优化UNION查询 466 | - 优化WHERE子句 467 | - 数据库优化 468 | - 为什么要优化 469 | - 数据库结构优化 470 | - MySQL数据库cpu飙升到500%的话他怎么处理? 471 | - 大表怎么优化?某个表有近千万数据,CRUD比较慢,如何优化?分库分表了是怎么做的?分表分库了有什么问题?有用到中间件么?他们的原理知道么? 472 | - 垂直分表适用场景 473 | - 水平分表适用场景 474 | - 水平切分的缺点 475 | - MySQL的复制原理以及流程 476 | - 读写分离有哪些解决方案? 477 | - 备份计划,mysqldump以及xtranbackup的实现原理 478 | - 数据表损坏的修复方式有哪些? 479 | 480 | - 骚话连篇 481 | - [程序员防猝死指南](https://mp.weixin.qq.com/s/PP80aD-GQp7VtgyfHj392g) 482 | - [妙啊!程序猿的第一本互联网黑话指南](https://mp.weixin.qq.com/s/lpmCHabbFarXwR1ZJwJ_kg) 483 | - [我感觉,我可能要拿图灵奖了。。。](https://mp.weixin.qq.com/s/K9a_TTYRmw5vQzCsCQTQrw) 484 | - [爷青回!最近很火的朋友圈怀旧小电视源码来啦!看到最后一个视频我大呼好家伙!](https://mp.weixin.qq.com/s/9_Au8hb-_5fNDiN4s0tNHw) 485 | - [我要开留言啦!](https://mp.weixin.qq.com/s/xawnze8S1SGmtK6rQ6bkMQ) 486 | 487 | 488 | - 包 489 | - [常用官方包说明](#常用包) 490 | - [常用第三方包说明](#三方包) 491 | - [常用框架](#框架) 492 | - [完整标准库列表](#完整包) 493 | - [优秀的第三方库](#优秀的开源库) 494 | - [音频和音乐](#音频和音乐) 495 | - [数据结构:Go中的通用数据结构和算法](#数据结构) 496 | - [分布式系统:Go中的通用数据结构和算法](#分布式系统) 497 | - [电子邮件:实现电子邮件创建和发送的库和工具](#电子邮件) 498 | - [嵌入式脚本语言:在go代码中嵌入其他语言](#嵌入式脚本语言) 499 | - [错误处理](#错误处理) 500 | - [处理文件和文件系统的库](#文件) 501 | - [金融:会计和财务软件包](#金融) 502 | - [游戏开发:游戏开发相关库](#游戏开发) 503 | - [地理位置:地理相关的位置信息和工具库](#地理位置) 504 | - [编译器相关:转到其他语言](#编译器) 505 | - [Goroutines:用于管理和使用Goroutines的工具](#Goroutines) 506 | - [图形界面:用于构建GUI应用程序的库](#图形界面) 507 | - [图片:用于处理图像的库](#图片) 508 | - [物联网:物联网设备编程库](#物联网) 509 | - [JSON格式:用于处理JSON的库](#JSON格式) 510 | - [机器学习:常用机器学习库](#机器学习) 511 | - [微软办公软件](#微软办公软件) 512 | - [自然语言处理](#自然语言处理) 513 | - [网络:与网络各层配合使用的库](#网络) 514 | - [视频:用于处理视频的库](#视频) 515 | 516 | 517 | 518 | 519 | 520 | 521 |

522 | - 其他 523 | 1. 常用包 524 | 525 | 526 | | 常用包 | 说明 | 527 | |:---------:|:------:| 528 | | fmt | 实现格式化的输入输出操作,其中的fmt.Printf()和fmt.Println()是开发者使用最为频繁的函数。   | 529 | | io | 实现了一系列非平台相关的IO相关接口和实现,比如提供了对os中系统相关的IO功能的封装。我们在进行流式读写(比如读写文件)时,通常会用到该包。   | 530 | | bufio | 它在io的基础上提供了缓存功能。在具备了缓存功能后, bufio可以比较方便地提供ReadLine之类的操作。   | 531 | | strconv | 提供字符串与基本数据类型互转的能力。   | 532 | | os | 本包提供了对操作系统功能的非平台相关访问接口。接口为Unix风格。提供的功能包括文件操作、进程管理、信号和用户账号等。   | 533 | | sync | 它提供了基本的同步原语。在多个goroutine访问共享资源的时候,需要使用sync中提供的锁机制。   | 534 | | flag | 它提供命令行参数的规则定义和传入参数解析的功能。绝大部分的命令行程序都需要用到这个包。   | 535 | | encoding/json | JSON目前广泛用做网络程序中的通信格式。本包提供了对JSON的基本支持,比如从一个对象序列化为JSON字符串,或者从JSON字符串反序列化出一个具体的对象等。   | 536 | | http | 通过http包,只需要数行代码,即可实现一个爬虫或者一个Web服务器,这在传统语言中是无法想象的。   | 537 | 538 | 539 | 540 |

541 | 542 | 2. 常用第三方包 543 | | 包 | 地址 | 544 | |:---------:|:------:| 545 | |数据库操作 | [github.com/jinzhu/gorm](https://github.com/jinzhu/gorm)
[github.com/go-xorm/xorm](https://github.com/go-xorm/xorm) | 546 | |搜索es | [github.com/olivere/elastic](https://github.com/olivere/elastic) | 547 | |rocketmq操作 | [github.com/apache/rocketmq-client-go/v2](https://github.com/apache/rocketmq-client-go/v2) | 548 | |rabbitmq 操作 | [github.com/streadway/amqp](https://github.com/streadway/amqp) | 549 | |redis 操作 | [github.com/go-redis/redis](https://github.com/go-redis/redis) | 550 | |etcd 操作 | [github.com/coreos/etcd/clientv3](https://pkg.go.dev/go.etcd.io/etcd/clientv3) | 551 | |kafka| [https://github.com/Shopify/sarama](https://github.com/Shopify/sarama) [https://github.com/bsm/sarama-cluster](https://github.com/bsm/sarama-cluster) | 552 | |excel 操作 | [github.com/360EntSecGroup-Skylar/excelize](https://github.com/360EntSecGroup-Skylar/excelize) | 553 | |ppt 操作 | [golang.org/x/tools/cmd/present](https://golang.org/x/tools/cmd/present) | 554 | |go-svg 操作 | [https://github.com/ajstarks/svgo](https://github.com/ajstarks/svgo) | 555 | |go 布隆过滤器实现 | [https://github.com/AndreasBriese/bbloom](https://github.com/AndreasBriese/bbloom) | 556 | |json相关 | [https://github.com/bitly/go-simplejson](https://github.com/bitly/go-simplejson) | 557 | |LRU Cache实现 | [https://github.com/bluele/gcache ](https://github.com/bluele/gcache ) [https://github.com/hashicorp/golang-lru ](https://github.com/hashicorp/golang-lru ) | 558 | |go运行时函数替换 | [https://github.com/bouk/monkey ](https://github.com/bouk/monkey ) | 559 | |toml | [https://github.com/toml-lang/toml ](https://github.com/toml-lang/toml ) [https://github.com/naoina/toml ](https://github.com/naoina/toml ) | 560 | |yaml | [https://github.com/go-yaml/yaml ](https://github.com/go-yaml/yaml ) | 561 | |viper | [https://github.com/spf13/viper ](https://github.com/spf13/viper ) | 562 | |go key/value存储 | [https://github.com/etcd-io/bbolt ](https://github.com/etcd-io/bbolt ) | 563 | |基于ringbuffer的无锁golang workpool | [https://github.com/Dai0522/workpool ](https://github.com/Dai0522/workpool ) | 564 | |轻量级的协程池 | [https://github.com/ivpusic/grpool ](https://github.com/ivpusic/grpool ) | 565 | |打印go的详细数据结构 | [https://github.com/davecgh/go-spew ](https://github.com/davecgh/go-spew ) | 566 | |基于ringbuffer实现的队列 | [https://github.com/eapache/queue ](https://github.com/eapache/queue ) | 567 | |拼音 | [https://github.com/go-ego/gpy ](https://github.com/go-ego/gpy ) | 568 | |分词 | [https://github.com/go-ego/gse ](https://github.com/go-ego/gse ) | 569 | |搜索 | [https://github.com/go-ego/riot ](https://github.com/go-ego/riot ) | 570 | |windows COM | [https://github.com/go-ego/cedar ](https://github.com/go-ego/cedar ) | 571 | |session | [https://github.com/gorilla/sessions ](https://github.com/gorilla/sessions ) | 572 | |路由 | [https://github.com/gorilla/mux ](https://github.com/gorilla/mux ) | 573 | |websocket | [https://github.com/gorilla/websocket ](https://github.com/gorilla/websocket ) | 574 | |Action handler | [https://github.com/gorilla/handlers ](https://github.com/gorilla/handlers ) | 575 | |csrf | [https://github.com/gorilla/csrf ](https://github.com/gorilla/csrf ) | 576 | |context | [https://github.com/gorilla/context ](https://github.com/gorilla/context ) | 577 | |过滤html标签 | [https://github.com/grokify/html-strip-tags-go ](https://github.com/grokify/html-strip-tags-go ) | 578 | |可配置的HTML标签过滤 | [https://github.com/microcosm-cc/bluemonday ](https://github.com/microcosm-cc/bluemonday ) | 579 | |根据IP获取地理位置信息 | [https://github.com/ipipdotnet/ipdb-go ](https://github.com/ipipdotnet/ipdb-go ) | 580 | |html转markdown | [https://github.com/jaytaylor/html2text ](https://github.com/jaytaylor/html2text ) | 581 | |goroutine 本地存储 | [https://github.com/jtolds/gls ](https://github.com/jtolds/gls ) | 582 | |彩色输出| [https://github.com/mgutz/ansi](https://github.com/mgutz/ansi) | 583 | |表格打印| [https://github.com/olekukonko/tablewriter](https://github.com/olekukonko/tablewriter) | 584 | |reflect 更高效的反射API| [https://github.com/modern-go/reflect2](https://github.com/modern-go/reflect2) | 585 | |msgfmt (格式化字符串,将%更换为变量名)| [https://github.com/modern-go/msgfmt](https://github.com/modern-go/msgfmt) | 586 | |可取消的goroutine| [https://github.com/modern-go/concurrent](https://github.com/modern-go/concurrent) | 587 | |深度拷贝| [https://github.com/mohae/deepcopy](https://github.com/mohae/deepcopy) | 588 | |安全的类型转换包| [https://github.com/spf13/cast](https://github.com/spf13/cast) | 589 | |从文本中提取链接| [https://github.com/mvdan/xurls](https://github.com/mvdan/xurls) | 590 | |字符串格式处理(驼峰转换)| [https://godoc.org/github.com/naoina/go-stringutil](https://godoc.org/github.com/naoina/go-stringutil) | 591 | |文本diff实现| [https://github.com/pmezard/go-difflib](https://github.com/pmezard/go-difflib) | 592 | |uuid相关 | [https://github.com/satori/go.uuid](https://github.com/satori/go.uuid) [https://github.com/snluu/uuid](https://github.com/snluu/uuid) | 593 | |去除UTF编码中的BOM| [https://github.com/ssor/bom](https://github.com/ssor/bom) | 594 | |图片缩放| [https://github.com/nfnt/resize](https://github.com/nfnt/resize) | 595 | |生成 mock server| [https://github.com/otokaze/mock](https://github.com/otokaze/mock) | 596 | |go 性能上报到influxdb| [https://github.com/rcrowley/go-metrics](https://github.com/rcrowley/go-metrics) | 597 | |go zookeeper客户端| [https://github.com/samuel/go-zookeeper](https://github.com/samuel/go-zookeeper) | 598 | |go thrift | [https://github.com/samuel/go-thrift](https://github.com/samuel/go-thrift) | 599 | |MQTT 客户端 | [https://github.com/shirou/mqttcli](https://github.com/shirou/mqttcli) | 600 | |hbase| [https://github.com/tsuna/gohbase](https://github.com/tsuna/gohbase) | 601 | |go 性能上报到influxdb| [https://github.com/rcrowley/go-metrics](https://github.com/rcrowley/go-metrics) | 602 | |go 性能上报到prometheus| [https://github.com/deathowl/go-metrics-prometheus](https://github.com/deathowl/go-metrics-prometheus) | 603 | |ps utils| [https://github.com/shirou/gopsutil](https://github.com/shirou/gopsutil) | 604 | |小数处理| [https://github.com/shopspring/decimal](https://github.com/shopspring/decimal) | 605 | | 结构化日志处理(json)| [https://github.com/sirupsen/logrus](https://github.com/sirupsen/logrus) | 606 | | 命令行程序框架 cli | [https://github.com/urfave/cli](https://github.com/urfave/cli) | 607 | | 命令行程序框架 cobra| [https://github.com/spf13/cobra](https://github.com/spf13/cobra) | 608 | 609 | 610 | 611 | 612 |

613 | 614 | 3. 必看项目 615 | | 项目 | 地址 | 说明| 616 | |:---------:|:------:|:------:| 617 | |gin | [github.com/gin-gonic/gin](https://github.com/gin-gonic/gin) | 轻量级web框架,很多公司都是基于它进行魔改 | 618 | |beego | [github.com/beego/beego](https://github.com/beego/beego) | 也是web框架,比较全能 | 619 | |kratos | [github.com/go-kratos/kratos](https://github.com/go-kratos/kratos) | bilibili开源的微服务框架,b站出品必属于精品 | 620 | |TiDB | [github.com/pingcap/tidb](https://github.com/pingcap/tidb) | 见识过mysql性能瓶颈之后你会想要选择的一款数据库 | 621 | 622 |

623 | 624 | 4. 完整标准库列表 625 | | 包 | 子包 | 说明 | 626 | |:---------:|:------:|:------: | 627 | | bufio | bytes | 提供了对字节切片操作的函数 | 628 | | | crypto | 收集了常见的加密常数 | 629 | | | errors | 实现了操作错误的函数 | 630 | | | Expvar | 为公共变量提供了一个标准的接口,如服务器中的运算计数器 | 631 | | | flag | 实现了命令行标记解析 | 632 | | | fmt | 实现了格式化输入输出 | 633 | | | hash | 提供了哈希函数接口 | 634 | | | html | 实现了一个HTML5兼容的分词器和解析器 | 635 | | | image | 实现了一个基本的二维图像库 | 636 | | | io | 提供了对I/O原语的基本接口 | 637 | | | log | 它是一个简单的记录包,提供最基本的日志功能 | 638 | | | math | 提供了一些基本的常量和数学函数 | 639 | | | mine | 实现了部分的MIME规范 | 640 | | | net | 提供了一个对UNIX网络套接字的可移植接口,包括TCP/IP、 UDP域名解析和UNIX域套接字 | 641 | | | os | 为操作系统功能实现了一个平台无关的接口 | 642 | | | path | 实现了对斜线分割的文件名路径的操作 | 643 | | | reflect | 实现了运行时反射,允许一个程序以任意类型操作对象 | 644 | | | regexp | 实现了一个简单的正则表达式库 | 645 | | | runtime | 包含与Go运行时系统交互的操作,如控制goroutine的函数 | 646 | | | sort | 提供对集合排序的基础函数集 | 647 | | | strconv | 实现了在基本数据类型和字符串之间的转换 | 648 | | | strings | 实现了操作字符串的简单函数 | 649 | | | sync | 提供了基本的同步机制,如互斥锁 | 650 | | | syscall | 包含一个低级的操作系统原语的接口 | 651 | | | testing | 提供对自动测试Go包的支持 | 652 | | | time | 提供测量和显示时间的功能 | 653 | | | unicode | Unicode编码相关的基础函数 | 654 | | archive | tar | 实现对tar压缩文档的访问 | 655 | | | zip | 提供对ZIP压缩文档的读和写支持 | 656 | | compress | bzip2 | 实现了bzip2解压缩 657 | | | flate | 实现了RFC 1951中所定义的DEFLATE压缩数据格式 | 658 | | | gzip | 实现了RFC 1951中所定义的gzip格式压缩文件的读和写 | 659 | | | lzw | 实现了 Lempel-Ziv-Welch编码格式的压缩的数据格式 | 660 | | | zlib | 实现了RFC 1950中所定义的zlib格式压缩数据的读和写 | 661 | | container | heap | 提供了实现heap.Interface接口的任何类型的堆操作 | 662 | | | lsit | 实现了一个双链表 | 663 | | | ring | 实现了对循环链表的操作 | 664 | | crypto | aes | 实现了AES加密(以前的Rijndael) | 665 | | | cipher | 实现了标准的密码块模式,该模式可包装进低级的块加密实现中 | 666 | | | des | 实现了数据加密标准( Data Encryption Standard,DES)和三重数据加密算法( TripleData Encryption Algorithm, TDEA) | 667 | | | dsa | 实现了FIPS 186-3所定义的数据签名算法( Digital Signature Algorithm) | 668 | | | ecdsa | 实现了FIPS 186-3所定义的椭圆曲线数据签名算法( Elliptic Curve Digital SignatureAlgorithm) | 669 | | | elliptic | 实现了素数域上几个标准的椭圆曲线 | 670 | | | hmac | 实现了键控哈希消息身份验证码( Keyed-Hash Message Authentication Code,HMAC) | 671 | | | md5 | 实现了RFC 1321中所定义的MD5哈希算法 | 672 | | | rand | 实现了一个加密安全的伪随机数生成器 | 673 | | | rc4 | 实现了RC4加密,其定义见Bruce Schneier的应用密码学( Applied Cryptography) | 674 | | | rsa | 实现了PKCS#1中所定义的RSA加密 | 675 | | | sha1 | 实现了RFC 3174中所定义的SHA1哈希算法 | 676 | | | sha256 | 实现了FIPS 180-2中所定义的SHA224和SHA256哈希算法 | 677 | | | sha512 | 实现了FIPS 180-2中所定义的SHA384和SHA512哈希算法 | 678 | | | subtle | 实现了一些有用的加密函数,但需要仔细考虑以便正确应用它们 | 679 | | | tls | 部分实现了RFC 4346所定义的TLS 1.1协议 | 680 | | | x509 | 可解析X.509编码的键值和证书 681 | | | x509/pkix | 包含用于对X.509证书、 CRL和OCSP的ASN.1解析和序列化的共享的、低级的结构 | 682 | | database | sql | 围绕SQL提供了一个通用的接口 | 683 | | | sql/driver | 定义了数据库驱动所需实现的接口,同sql包的使用方式 | 684 | | debug | dwarf | 提供了对从可执行文件加载的DWARF调试信息的访问,这个包对于实现Go语言的调试器非常有价值 | 685 | | | elf | 实现了对ELF对象文件的访问。 ELF是一种常见的二进制可执行文件和共享库的文件格式。 Linux采用了ELF格式 | 686 | | | gosym | 访问Go语言二进制程序中的调试信息。对于可视化调试很有价值 | 687 | | | macho | 实现了对[Mach-O对象文件](http://developer.apple.com/mac/library/documentation/DeveloperTools/Conceptual/MachORuntime/Reference/reference.html)的访问 | 688 | | | pe | 实现了对PE( Microsoft Windows Portable Executable)文件的访问 | 689 | | encoding | ascii85 | 实现了ascii85数据编码,用于btoa工具和Adobe’s PostScript以及PDF文档格式 | 690 | | | asn1 | 实现了解析DER编码的ASN.1数据结构,其定义见ITU-T Rec X.690 | 691 | | | base32 | 实现了RFC 4648中所定义的base32编码 | 692 | | | base64 | 实现了RFC 4648中所定义的base64编码 | 693 | | | binary | 实现了在无符号整数值和字节串之间的转化,以及对固定尺寸值的读和写 | 694 | | | csv | 可读和写由逗号分割的数值( csv)文件 | 695 | | | gob | 管理gob流——在编码器(发送者)和解码器(接收者)之间进行二进制值交换 | 696 | | | hex | 实现了十六进制的编码和解码 | 697 | | | json | 实现了定义于RFC 4627中的JSON对象的编码和解码 | 698 | | | pem | 实现了PEM( Privacy Enhanced Mail)数据编码 | 699 | | | xml | 实现了一个简单的可理解XML名字空间的XML 1.0解析器 | 700 | | go | ast | 声明了用于展示Go包中的语法树类型 | 701 | | | build | 提供了构建Go包的工具 | 702 | | | doc | 从一个Go AST(抽象语法树)中提取源代码文档 | 703 | | | parser | 实现了一个Go源文件解析器 | 704 | | | printer | 实现了对AST(抽象语法树)的打印 | 705 | | | scanner | 实现了一个Go源代码文本的扫描器 | 706 | | | token | 定义了代表Go编程语言中词法标记以及基本操作标记( printing、 predicates)的常量 | 707 | | hash | adler32 | 实现了Adler-32校验和 | 708 | | | crc32 | 实现了32位的循环冗余校验或CRC-32校验和 | 709 | | | crc64 | 实现了64位的循环冗余校验或CRC-64校验和 | 710 | | | fnv | 实现了Glenn Fowler、 Landon Curt Noll和Phong Vo所创建的FNV-1和FNV-1a未加密哈希函数 | 711 | | html | template | 它自动构建HTML输出,并可防止代码注入 | 712 | | image | color | 实现了一个基本的颜色库 | 713 | | | draw | 提供一些做图函数 | 714 | | | gif | 实现了一个GIF图像解码器 | 715 | | | jpeg | 实现了一个JPEG图像解码器和编码器 | 716 | | | png | 实现了一个PNG图像解码器和编码器 | 717 | | index | suffixarray | 通过构建内存索引实现的高速字符串匹配查找算法 | 718 | | io | ioutil | 实现了一些实用的I/O函数 | 719 | | log | syslog | 提供了对系统日志服务的简单接口 | 720 | | math | big | 实现了多精度的算术运算(大数) | 721 | | | cmplx | 为复数提供了基本的常量和数学函数 | 722 | | | rand | 实现了伪随机数生成器 | 723 | | mime | multipart | 实现了在RFC 2046中定义的MIME多个部分的解析 | 724 | | net | http | 提供了HTTP客户端和服务器的实现 | 725 | | | mail | 实现了对邮件消息的解析 | 726 | | | rpc | 提供了对一个来自网络或其他I/O连接的对象可导出的方法的访问 | 727 | | | smtp | 实现了定义于RFC 5321中的简单邮件传输协议( Simple Mail Transfer Protocol) | 728 | | | textproto | 实现了在HTTP、 NNTP和SMTP中基于文本的通用的请求/响应协议 | 729 | | | url | 解析URL并实现查询转义 | 730 | | | http/cgi | 实现了定义于RFC 3875中的CGI(通用网关接口) | 731 | | | http/fcgi | 实现了FastCGI协议 | 732 | | | http/httptest | 提供了一些HTTP测试应用 | 733 | | | http/httputil | 提供了一些HTTP应用函数,这些是对net/http包中的东西的补充,只不过相对不太常用 | 734 | | | http/pprof | 通过其HTTP服务器运行时提供性能测试数据,该数据的格式正是pprof可视化工具需要的 | 735 | | | rpc/jsonrpc | 为rpc包实现了一个JSON-RPC ClientCodec和ServerCodec | 736 | | os | exec | 可运行外部命令 | 737 | | | user | 通过名称和id进行用户账户检查 | 738 | | path | filepath | 实现了以与目标操作系统定义文件路径相兼容的方式处理文件名路径 | 739 | | regexp | syntax | 将正则表达式解析为语法树 | 740 | | runtime | debug | 包含当程序在运行时调试其自身的功能 | 741 | | | pprof | 以pprof可视化工具需要的格式写运行时性能测试数据 | 742 | | sync | atomic | 提供了低级的用于实现同步算法的原子级的内存机制 | 743 | | testing | iotest | 提供一系列测试目的的类型,实现了Reader和Writer标准接口 | 744 | | | quick | 实现了用于黑箱测试的实用函数 | 745 | | | script | 帮助测试使用通道的代码 | 746 | | text | scanner | 为UTF-8文本提供了一个扫描器和分词器 | 747 | | | tabwriter | 实现了一个写筛选器( tabwriter.Writer),它可将一个输入的tab分割的列翻译为适当对齐的文本 | 748 | | | template | 数据驱动的模板引擎,用于生成类似HTML的文本输出格式 | 749 | | | template/parse | 为template构建解析树 | 750 | | | unicode/utf16| 实现了UTF-16序列的的编码和解码 | 751 | | | unicode/utf8| 实现了支持以UTF-8编码的文本的函数和常数 | 752 | 753 | 754 | 755 | 756 | 757 | 758 | 759 |

760 | 761 | 5. 其他优秀的开源工具分类 762 | - 音频和音乐 763 | 764 | 765 | | 包 | 说明 | 766 | |:---------:|:------:| 767 | | [EasyMIDI](https://github.com/algoGuy/EasyMIDI) | EasyMidi是一个简单可靠的库,用于处理标准Midi文件(SMF)。| 768 | | [flac](https://github.com/mewkiz/flac) | 支持FLAC流的Native Go FLAC编码器/解码器。| 769 | | [gaad](https://github.com/Comcast/gaad) | 本机Go AAC比特流解析器。| 770 | | [go-sox](https://github.com/krig/go-sox) | 用于go的libsox绑定。| 771 | | [go_mediainfo](https://github.com/zhulik/go_mediainfo) | 用于go的libmediainfo绑定。| 772 | | [gosamplerate](https://github.com/dh1tw/gosamplerate) | 用于go的libsamplerate绑定。| 773 | | [id3v2](https://github.com/bogem/id3v2) | 用于Go的快速,稳定的ID3解析和编写库。| 774 | | [malgo](https://github.com/gen2brain/malgo) | 迷你音频库。| 775 | | [minimp3](https://github.com/tosone/minimp3) | 轻量级MP3解码器库。| 776 | | [mix](https://github.com/go-mix/mix) | 为音乐应用程序基于序列转到本地音频混合器。| 777 | | [mp3](https://github.com/tcolgate/mp3) | Native Go MP3解码器。| 778 | | [music-theory](https://github.com/go-music-theory/music-theory) | Go中的音乐理论模型。| 779 | | [Oto](https://github.com/hajimehoshi/oto) | 在多个平台上播放声音的低级库。| 780 | | [PortAudio](https://github.com/gordonklaus/portaudio) | 用于PortAudio音频I / O库的绑定。| 781 | | [portmidi](https://github.com/rakyll/portmidi) | 绑定PortMidi。| 782 | | [taglib](https://github.com/wtolson/go-taglib) | 为taglib绑定。| 783 | | [vorbis](https://github.com/mccoyst/vorbis) | “本机” Go Vorbis解码器(使用CGO,但没有依赖项)。| 784 | | [waveform](https://github.com/mdlayher/waveform) | Go程序包,能够从音频流生成波形图像。| 785 | 786 | 787 | - 数据结构 788 | 789 | 790 | | 包 | 说明 | 791 | |:---------:|:------:| 792 | | [algorithms](https://github.com/shady831213/algorithms) | 算法和数据结构。CLRS研究。| 793 | | [binpacker](https://github.com/zhuangsirui/binpacker) | 二进制打包程序和解包程序可帮助用户构建自定义二进制流。| 794 | | [bit](https://github.com/yourbasic/bit) | 具有额外的位旋转功能的Golang设置数据结构。| 795 | | [bitset](https://github.com/willf/bitset) | 实现位集的Go包。| 796 | | [bloom](https://github.com/zhenjl/bloom) | 在Go中实现的Bloom过滤器。| 797 | | [bloom](https://github.com/yourbasic/bloom) | Golang Bloom过滤器实现。| 798 | | [boomfilters](https://github.com/tylertreat/BoomFilters) | 用于处理连续无界流的概率数据结构。| 799 | | [concurrent-writer](https://github.com/free/concurrent-writer) |高并发直接替换bufio.Writer。| 800 | | [conjungo](https://github.com/InVisionApp/conjungo) | 一个小型,强大而灵活的合并库。| 801 | | [count-min-log](https://github.com/seiflotfy/count-min-log) | 执行Count-Min-Log草图:使用近似计数器进行近似计数(类似于Count-Min草图,但使用较少的内存)。| 802 | | [crunch](https://github.com/superwhiskers/crunch) | Go包实现了用于轻松处理各种数据类型的缓冲区。| 803 | | [cuckoofilter](https://github.com/seiflotfy/cuckoofilter) | Cuckoo过滤器:是Go中实现的计数布隆过滤器的很好替代。| 804 | | [deque](https://github.com/edwingeng/deque) | 高度优化的双端队列。| 805 | | [deque](https://github.com/gammazero/deque) | 快速的环形缓冲区双端队列(双端队列)。| 806 | | [dict](https://github.com/srfrog/dict) | Go的类似Python的字典(dict)。| 807 | | [encoding](https://github.com/zhenjl/encoding) | Go的整数压缩库。| 808 | | [go-adaptive-radix-tree](https://github.com/plar/go-adaptive-radix-tree) | 自适应基数树的 Go实现。| 809 | | [go-datastructures](https://github.com/Workiva/go-datastructures) | 有用,高性能和线程安全的数据结构的集合。| 810 | | [go-ef](https://github.com/amallia/go-ef) | Elias-Fano编码的Go实现。| 811 | | [go-geoindex](https://github.com/hailocab/go-geoindex) | 内存中的地理索引。| 812 | | [go-mcache](https://github.com/OrlovEvgeny/go-mcache) | 快速内存键:值存储/缓存库。指针缓存。| 813 | | [go-rquad](https://github.com/aurelien-rainone/go-rquad) | 具有有效点定位和邻居发现功能的区域四叉树。| 814 | | [gocache](https://github.com/eko/gocache) | 具有多个存储(内存,memcache,redis等),可链接,可加载,指标缓存等的完整Go缓存库。| 815 | | [goconcurrentqueue](https://github.com/enriquebris/goconcurrentqueue) | 并发FIFO队列。| 816 | | [gods](https://github.com/emirpasic/gods) | 数据结构。容器,集合,列表,堆栈,地图,BidiMap,树,HashSet等。| 817 | | [gofal](https://github.com/xxjwxc/gofal) | Go的小数api。| 818 | | [golang-set](https://github.com/deckarep/golang-set) | Go的线程安全和非线程安全高性能集。| 819 | | [goset](https://github.com/zoumo/goset) | Go的有用的Set集合实现。| 820 | | [goskiplist](https://github.com/ryszard/goskiplist) | Go中的跳过列表实现。| 821 | | [gota](https://github.com/kniren/gota) | Go的数据框,序列和数据整理方法的实现。| 822 | | [hide](https://github.com/emvi/hide) | ID类型,将其编组进/出哈希以防止将ID发送给客户端。| 823 | | [hilbert](https://github.com/google/hilbert) | Go程序包,用于在空间填充曲线(例如Hilbert和Peano曲线)之间映射值。| 824 | | [hyperloglog](https://github.com/axiomhq/hyperloglog) | HyperLogLog实施,具有稀疏,LogLog-Beta偏差校正和TailCut空间减少功能。| 825 | | [iter](https://github.com/disksing/iter) | C ++ STL迭代器和算法的实现。| 826 | | [levenshtein](https://github.com/agext/levenshtein) | Levenshtein距离和相似性度量标准,具有可自定义的编辑费用和通用前缀的类似于Winkler的奖金。| 827 | | [levenshtein](https://github.com/agnivade/levenshtein) | 在Go中计算levenshtein距离的实现。| 828 | | [mafsa](https://github.com/smartystreets/mafsa) | 具有最小完美散列的MA-FSA实现。| 829 | | [merkletree](https://github.com/cbergoon/merkletree) | merkle树的实现,可对数据结构的内容进行有效且安全的验证。| 830 | | [mspm](https://github.com/BlackRabbitt/mspm) | 用于信息检索的多字符串模式匹配算法。| 831 | | [null](https://github.com/emvi/null) | 可空转到类型,可以被编组/解组到/从JSON。| 832 | | [parsefields](https://github.com/MonaxGT/parsefields) | 用于解析类似JSON的日志的工具,以收集唯一的字段和事件。| 833 | | [pipeline](https://github.com/hyfather/pipeline) | 具有扇入和扇出的管线的实现。| 834 | | [ptrie](https://github.com/viant/ptrie) | 前缀树的实现。| 835 | | [remember-go](https://github.com/rocketlaunchr/remember-go) | 缓存慢速数据库查询的通用接口(由redis,memcached,ristretto或内存支持)。| 836 | | [ring](https://github.com/TheTannerRyan/ring) | 围棋实现了高性能,线程安全的布隆过滤器。| 837 | | [roaring](https://github.com/RoaringBitmap/roaring) | 实施压缩位集的软件包。| 838 | | [set](https://github.com/StudioSol/set) | 使用LinkedHashMap的围棋设置简单的数据结构实现。| 839 | | [skiplist](https://github.com/MauriceGit/skiplist) | 非常快的Go Skiplist实施。| 840 | | [skiplist](https://github.com/gansidui/skiplist) | Go中的跳过列表实现。| 841 | | [timedmap](https://github.com/zekroTJA/timedmap) | 具有过期的键/值对的地图。| 842 | | [treap](https://github.com/perdata/treap) | 使用树堆的持久快速排序的地图。| 843 | | [trie](https://github.com/derekparker/trie) | Go中的Trie实现。| 844 | | [ttlcache](https://github.com/diegobernardes/ttlcache) | 内存中的LRU字符串接口{}映射,其中包含golang的到期时间。| 845 | | [typ](https://github.com/gurukami/typ) | 空类型,安全的原始类型转换和从复杂结构中获取值。| 846 | | [willf/bloom](https://github.com/willf/bloom) | Go包实现Bloom过滤器。| 847 | 848 | - 分布式系统 849 | 850 | 851 | | 包 | 说明 | 852 | |:---------:|:------:| 853 | | [celeriac](https://github.com/svcavallar/celeriac.v1) | 用于在Go中添加支持以交互和监视Celery工作者,任务和事件的库。| 854 | | [consistent](https://github.com/buraksezer/consistent) | 具有受限负载的一致哈希| 855 | | [dht](https://github.com/anacrolix/dht) | BitTorrent Kademlia DHT实施。| 856 | | [digota](https://github.com/digota/digota) | grpc电子商务微服务。| 857 | | [dot](https://github.com/dotchain/dot/) | 使用操作转换/ OT进行分布式同步。| 858 | | [doublejump](https://github.com/edwingeng/doublejump) | 改进后的Google的跳转一致性哈希。| 859 | | [dragonboat](https://github.com/lni/dragonboat) | Go中功能齐全的高性能多组Raft库。| 860 | | [drmaa](https://github.com/dgruber/drmaa) | 基于DRMAA标准的集群调度程序的作业提交库。| 861 | | [dynamolock](https://cirello.io/dynamolock) | DynamoDB支持的分布式锁定实现。| 862 | | [dynatomic](https://github.com/tylfin/dynatomic) | 将DynamoDB用作原子计数器的库。| 863 | | [emitter-io](https://github.com/emitter-io/emitter) | 使用MQTT,Websockets和love构建的高性能,分布式,安全和低延迟的发布-订阅平台。| 864 | | [flowgraph](https://github.com/vectaport/flowgraph) | 基于流的编程包。| 865 | | [gleam](https://github.com/chrislusf/gleam) | 用纯围棋和Luajit快速和可扩展的分布式的map / reduce系统,具有Luajit的高性能结合Go的高并发,单独运行或分发。| 866 | | [glow](https://github.com/chrislusf/glow) | 易于使用的可扩展的分布式大数据处理,Map-Reduce,DAG执行,全部在纯Go中进行。| 867 | | [go-health](https://github.com/InVisionApp/go-health) | health-用于在服务中启用异步依赖项运行状况检查的库。| 868 | | [go-jump](https://github.com/dgryski/go-jump) | Google的“ Jump”一致性哈希函数的端口。| 869 | | [go-kit](https://github.com/go-kit/kit) | 支持服务发现,负载平衡,可插拔传输,请求跟踪等的微服务工具包| 870 | | [go-sundheit](https://github.com/AppsFlyer/go-sundheit) | 建立用于支持为golang服务定义异步服务运行状况检查的库。| 871 | | [gorpc](https://github.com/valyala/gorpc) | 简单,快速和可扩展的RPC库,可实现高负载。| 872 | | [grpc-go](https://github.com/grpc/grpc-go) | gRPC的Go语言实现。基于HTTP / 2的RPC。| 873 | | [hprose](https://github.com/hprose/hprose-golang) | 十分新颖的RPC库,现在支持25种以上的语言。| 874 | | [jsonrpc](https://github.com/osamingo/jsonrpc) | jsonrpc软件包可帮助实现JSON-RPC 2.0。| 875 | | [jsonrpc](https://github.com/ybbus/jsonrpc) | JSON-RPC 2.0 HTTP客户端实现。| 876 | | [KrakenD](https://github.com/devopsfaith/krakend) | 具有中间件的超高性能API网关框架。| 877 | | [liftbridge](https://github.com/liftbridge-io/liftbridge) | NATS的轻量级,容错消息流。| 878 | | [micro](https://github.com/micro/micro) | 可插拔的microService工具箱和分布式系统平台。| 879 | | [NATS](https://github.com/nats-io/gnatsd) | 用于微服务,IoT和云本机系统的轻量级高性能消息传递系统。| 880 | | [outboxer](https://github.com/italolelis/outboxer) | Outboxer是一个实现库模式的go库。| 881 | | [pglock](https://cirello.io/pglock) | PostgreSQL支持的分布式锁定实现。| 882 | | [raft](https://github.com/hashicorp/raft) | HashiCorp的Raft共识协议的Golang实现。| 883 | | [raft](https://github.com/coreos/etcd/tree/master/raft) | ETCD中实现的Raft协议。| 884 | | [rain](https://github.com/cenkalti/rain) | BitTorrent客户端和库。| 885 | | [redis-lock](https://github.com/bsm/redislock) | 使用Redis的简化分布式锁定实现。| 886 | | [resgate](https://resgate.io/) | 用于构建REST,实时和RPC API的实时API网关,其中所有客户端都可以无缝同步。| 887 | | [ringpop-go](https://github.com/uber/ringpop-go) | Go应用程序的可扩展,容错应用程序层分片。| 888 | | [rpcx](https://github.com/smallnest/rpcx) | 分布式可插拔RPC服务框架,例如阿里巴巴Dubbo。| 889 | | [sleuth](https://github.com/ursiform/sleuth) | 用于在HTTP服务之间进行无主p2p自动发现和RPC的库([ZeroMQ](https://github.com/zeromq/libzmq))。| 890 | | [tendermint](https://github.com/tendermint/tendermint) | 高性能中间件,用于使用Tendermint共识和区块链协议将以任何编程语言编写的状态机转换为拜占庭容错复制状态机。| 891 | | [torrent](https://github.com/anacrolix/torrent) | BitTorrent客户端软件包。| 892 | 893 | - 电子邮件 894 | 895 | 896 | | 包 | 说明 | 897 | |:---------:|:------:| 898 | | [chasquid](https://blitiri.com.ar/p/chasquid) | 用Go编写的SMTP服务器。| 899 | | [douceur](https://github.com/aymerick/douceur) | CSS内衬为您的HTML电子邮件。| 900 | | [email](https://github.com/jordan-wright/email) | 用于Go的强大而灵活的电子邮件库。| 901 | | [go-dkim](https://github.com/toorop/go-dkim) | DKIM库,用于签名和验证电子邮件。| 902 | | [go-imap](https://github.com/emersion/go-imap) | 用于客户端和服务器的IMAP库。| 903 | | [go-message](https://github.com/emersion/go-message) | Internet消息格式和邮件消息的流库。| 904 | | [go-premailer](https://github.com/vanng822/go-premailer) | Go中HTML邮件的内联样式。| 905 | | [go-simple-mail](https://github.com/xhit/go-simple-mail) | 使用SMTP保持活动状态和两个超时发送电子邮件的非常简单的程序包:连接和发送。| 906 | | [Hectane](https://github.com/hectane/hectane) | 提供HTTP API的轻型SMTP客户端。| 907 | | [hermes](https://github.com/matcornic/hermes) | Golang软件包,可生成干净的响应式HTML电子邮件。| 908 | | [mailchain](https://github.com/mailchain/mailchain) | 将加密的电子邮件发送到用Go编写的区块链地址。| 909 | | [mailgun-go](https://github.com/mailgun/mailgun-go) | Go库,用于使用Mailgun API发送邮件。| 910 | | [MailHog](https://github.com/mailhog/MailHog) | 通过Web和API界面进行电子邮件和SMTP测试。| 911 | | [SendGrid](https://github.com/sendgrid/sendgrid-go) | SendGrid的Go库,用于发送电子邮件。| 912 | | [smtp](https://github.com/mailhog/smtp) | SMTP服务器协议状态机。| 913 | 914 | - 嵌入式脚本语言 915 | 916 | 917 | | 包 | 说明 | 918 | |:---------:|:------:| 919 | | [anko](https://github.com/mattn/anko) | 用Go语言编写的可编写脚本的解释器。| 920 | | [binder](https://github.com/alexeyco/binder) | 转到基于[gopher-lua](https://github.com/yuin/gopher-lua)的 Lua绑定库。| 921 | | [cel-go](https://github.com/google/cel-go) | 具有渐进式输入功能的快速,便携式,非图灵完整表达评估。| 922 | | [expr](https://github.com/antonmedv/expr) | 可以评估表达式的引擎。| 923 | | [gentee](https://github.com/gentee/gentee) | 可嵌入的脚本编程语言。| 924 | | [gisp](https://github.com/jcla1/gisp) | Go中的简单LISP。| 925 | | [go-duktape](https://github.com/olebedev/go-duktape) | Go的Duktape JavaScript引擎绑定。| 926 | | [go-lua](https://github.com/Shopify/go-lua) | Lua 5.2 VM到纯Go的端口。| 927 | | [go-php](https://github.com/deuill/go-php) | Go的PHP绑定。| 928 | | [go-python](https://github.com/sbinet/go-python) | 与CPython C-API的幼稚go绑定。| 929 | | [golua](https://github.com/aarzilli/golua) | Lua C API的绑定。| 930 | | [gopher-lua](https://github.com/yuin/gopher-lua) | 用Go编写的Lua 5.1 VM和编译器。| 931 | | [gval](https://github.com/PaesslerAG/gval) | 用Go编写的高度可定制的表达语言。| 932 | | [ngaro](https://github.com/db47h/ngaro) | 可嵌入的Ngaro VM实现,支持在Retro中编写脚本。| 933 | | [otto](https://github.com/robertkrimen/otto) | 用Go编写的JavaScript解释器。| 934 | | [purl](https://github.com/ian-kent/purl) | Go中嵌入的Perl 5.18.2。| 935 | | [tengo](https://github.com/d5/tengo) | 用于Go的字节码编译脚本语言。| 936 | 937 | 938 | - 错误处理 939 | 940 | 941 | | 包 | 说明 | 942 | |:---------:|:------:| 943 | | [emperror](https://github.com/emperror/emperror) | Go库和应用程序的错误处理工具和最佳实践。| 944 | | [errlog](https://github.com/snwfdhmp/errlog) | 可破解的软件包,用于确定错误的负责任的源代码(以及其他一些快速调试功能)。可插入任何现成的记录器。| 945 | | [errors](https://github.com/emperror/errors) | 下拉更换为标准库的错误包和github.com/pkg/errors。提供各种错误处理原语。| 946 | | [errors](https://github.com/pkg/errors) | 提供简单错误处理原语的软件包。| 947 | | [errors](https://github.com/neuronlabs/errors) | 简单golang错误处理与分类元。| 948 | | [errorx](https://github.com/joomcode/errorx) | 具有堆栈跟踪,错误组成等的功能丰富的错误包。| 949 | | [Falcon](https://github.com/SonicRoshan/falcon) | 一个简单但功能强大的错误处理软件包。| 950 | | [go-multierror](https://github.com/hashicorp/go-multierror) | Go(golang)软件包,用于将错误列表表示为单个错误。| 951 | | [tracerr](https://github.com/ztrue/tracerr) | 带有堆栈跟踪和源代码片段的Golang错误。| 952 | | [werr](https://github.com/txgruppi/werr) | 错误包装程序为Go中的错误类型创建了一个包装程序,该包装程序捕获了调用它的文件,行和堆栈。| 953 | 954 | 955 | - 文件 956 | 957 | 958 | | 包 | 说明 | 959 | |:---------:|:------:| 960 | | [afero](https://github.com/spf13/afero) | Go的文件系统抽象系统。| 961 | | [afs](https://github.com/viant/afs) | Go的抽象文件存储(mem,scp,zip,tar,云:s3,gs)。| 962 | | [bigfile](https://github.com/bigfile/bigfile) | 文件传输系统,支持使用http api,rpc调用和ftp客户端管理文件。| 963 | | [checksum](https://github.com/codingsince1985/checksum) | 计算大型文件的消息摘要,例如MD5和SHA256。| 964 | | [flop](https://github.com/homedepot/flop) | 文件操作库,旨在与[GNU cp](https://www.gnu.org/software/coreutils/manual/html_node/cp-invocation.html)镜像功能奇偶校验。| 965 | | [go-csv-tag](https://github.com/artonge/go-csv-tag) | tag-使用标签加载csv文件。| 966 | | [go-decent-copy](https://github.com/hugocarreira/go-decent-copy) | 复制human文件。| 967 | | [go-exiftool](https://github.com/barasher/go-exiftool) | ExifTool的Go绑定,这是众所周知的库,用于从文件(图片,PDF,office,...)提取尽可能多的元数据(EXIF,IPTC等)。| 968 | | [go-gtfs](https://github.com/artonge/go-gtfs) | 在go中加载gtfs文件。| 969 | | [notify](https://github.com/rjeczalik/notify) | 具有简单API的文件系统事件通知库,类似于os / signal。| 970 | | [opc](https://github.com/qmuntal/opc) | 为Go加载Open Packaging Conventions(OPC)文件。| 971 | | [parquet](https://github.com/parsyl/parquet) | 读取和写入 [parquet](https://parquet.apache.org/)文件。| 972 | | [pdfcpu](https://github.com/hhrutter/pdfcpu) | PDF 处理器。| 973 | | [skywalker](https://github.com/dixonwille/skywalker) | 一种软件包,允许一个人轻松地同时通过文件系统。| 974 | | [stl](https://gitlab.com/russoj88/stl) | 读取和写入STL(立体光刻)文件的模块。并发读取算法。| 975 | | [tarfs](https://github.com/posener/tarfs) | tar文件[`FileSystem` interface](https://godoc.org/github.com/kr/fs#FileSystem)接口的实现。| 976 | | [vfs](https://github.com/C2FO/vfs) | 跨多种文件系统类型(例如os,S3和GCS)的Go的一组可插拔,可扩展且自以为是的文件系统功能。| 977 | 978 | - 金融 979 | 980 | 981 | | 包 | 说明 | 982 | |:---------:|:------:| 983 | | [accounting](https://github.com/leekchan/accounting) | golang的货币和货币格式。| 984 | | [currency](https://github.com/bnkamalesh/currency) | 高性能和准确的货币计算包。| 985 | | [decimal](https://github.com/shopspring/decimal) | 任意精度定点十进制数字。| 986 | | [go-finance](https://github.com/FlashBoys/go-finance) | Go中的综合金融市场数据。| 987 | | [go-finance](https://github.com/alpeb/go-finance) | 金融功能库,用于货币时间价值(年金),现金流量,利率转换,债券和折旧计算。| 988 | | [go-finance](https://github.com/pieterclaerhout/go-finance) | 获取汇率,通过VIES检查增值税号和检查IBAN银行帐号的模块。| 989 | | [go-money](https://github.com/rhymond/go-money) | Fowler的Money模式的实现。| 990 | | [ofxgo](https://github.com/aclindsa/ofxgo) | 查询OFX服务器和/或解析响应(使用示例命令行客户端)。| 991 | | [orderbook](https://github.com/i25959341/orderbook) | 匹配引擎的限价订单在Golang。| 992 | | [techan](https://github.com/sdcoffey/techan) | 具有高级市场分析和交易策略的技术分析库。| 993 | | [transaction](https://github.com/claygod/transaction) | 以多线程模式运行的嵌入式帐户嵌入式事务数据库。| 994 | | [vat](https://github.com/dannyvankooten/vat) | 增值税号验证和欧盟增值税率。| 995 | 996 | - 游戏开发 997 | 998 | 999 | | 包 | 说明 | 1000 | |:---------:|:------:| 1001 | | [Azul3D](https://github.com/azul3d/engine) | 用Go语言编写的3D游戏引擎。| 1002 | | [Ebiten](https://github.com/hajimehoshi/ebiten) | Go中死的简单2D游戏库。| 1003 | | [engo](https://github.com/EngoEngine/engo) | Engo是用Go语言编写的开源2D游戏引擎。它遵循实体组件系统范式。| 1004 | | [g3n](https://github.com/g3n/engine) | Go 3D游戏引擎。| 1005 | | [GarageEngine](https://github.com/vova616/GarageEngine) | 用Go语言编写的2D游戏引擎,可在OpenGL上使用。| 1006 | | [glop](https://github.com/runningwild/glop) | Glop(权力游戏库)是一个相当简单的跨平台游戏库。| 1007 | | [go-astar](https://github.com/beefsack/go-astar) | A 路径查找算法的Go实现。| 1008 | | [go-collada](https://github.com/GlenKelley/go-collada) | Go包,用于Collada文件格式。| 1009 | | [go-sdl2](https://github.com/veandco/go-sdl2) | [Simple DirectMedia Layer](https://www.libsdl.org/)的 Go绑定。| 1010 | | [go3d](https://github.com/ungerik/go3d) | 用于Go的面向性能的2D/3D数学软件包。| 1011 | | [gonet](https://github.com/xtaci/gonet) | 使用golang实现的游戏服务器框架。| 1012 | | [goworld](https://github.com/xiaonanln/goworld) |可扩展的游戏服务器引擎,具有空间实体框架和热插拔功能。| 1013 | | [Leaf](https://github.com/name5566/leaf) | 轻量级游戏服务器框架。| 1014 | | [nano](https://github.com/lonng/nano) | 重量轻,设备,高性能的基于golang游戏服务器架构。| 1015 | | [Oak](https://github.com/oakmound/oak) | Pure Go游戏引擎。| 1016 | | [Pitaya](https://github.com/topfreegames/pitaya) | 可扩展的游戏服务器框架,具有群集支持和通过C SDK的iOS,Android,Unity等客户端库。| 1017 | | [Pixel](https://github.com/faiface/pixel) | Go中的手工制作2D游戏库。| 1018 | | [raylib-go](https://github.com/gen2brain/raylib-go) | 去绑定raylib,简单和易于使用的库,以了解电子游戏编程。| 1019 | | [termloop](https://github.com/JoelOtter/termloop) | Go的基于终端的游戏引擎,建立在Termbox之上。| 1020 | 1021 | - 地理位置 1022 | 1023 | 1024 | | 包 | 说明 | 1025 | |:---------:|:------:| 1026 | | [geocache](https://github.com/melihmucuk/geocache) | 适用于基于地理位置的应用程序的内存中缓存。| 1027 | | [geoserver](https://github.com/hishamkaram/geoserver) | geoserver是Go软件包,用于通过GeoServer REST API操纵GeoServer实例。| 1028 | | [gismanager](https://github.com/hishamkaram/gismanager) | 将 GIS数据(矢量数据)发布到PostGIS和Geoserver。| 1029 | | [osm](https://github.com/paulmach/osm) | 用于读取,编写和使用OpenStreetMap数据和API的库。| 1030 | | [pbf](https://github.com/maguro/pbf) | OpenStreetMap PBF golang编码器/解码器。| 1031 | | [S2 geometry](https://github.com/golang/geo) | Go中的S2几何库。| 1032 | | [Tile38](https://github.com/tidwall/tile38) | 具有空间索引和实时地理围栏的地理位置数据库。| 1033 | | [WGS84](https://github.com/wroge/wgs84) | 库坐标转换和变换(ETRS89,OSGB36,NAD83,RGF93,网络墨卡托UTM)。| 1034 | 1035 | - 编译器 1036 | 1037 | 1038 | | 包 | 说明 | 1039 | |:---------:|:------:| 1040 | | [c4go](https://github.com/Konstantin8105/c4go) | 将C代码转换为Go代码。| 1041 | | [f4go](https://github.com/Konstantin8105/f4go) | 将FORTRAN 77代码转换为Go代码。| 1042 | | [gopherjs](https://github.com/gopherjs/gopherjs) | 从Go到JavaScript的编译器。| 1043 | | [llgo](https://github.com/go-llvm/llgo) | Go的基于LLVM的编译器。| 1044 | | [tardisgo](https://github.com/tardisgo/tardisgo) | Golang转换为CPP / CSharp / Java / JavaScript转译器。| 1045 | 1046 | - Goroutines 1047 | 1048 | 1049 | | 包 | 说明 | 1050 | |:---------:|:------:| 1051 | | [ants](https://github.com/panjf2000/ants) | 用于golang的高性能goroutine池。| 1052 | | [artifex](https://github.com/borderstech/artifex) | Golang使用基于工作程序的分派的简单内存中作业队列。| 1053 | | [async](https://github.com/studiosol/async) | 一种异步执行功能的安全方法,以防万一。| 1054 | | [breaker](https://github.com/kamilsk/breaker) | 使执行流程可中断的灵活机制。| 1055 | | [cyclicbarrier](https://github.com/marusama/cyclicbarrier) | 用于golang的CyclicBarrier。| 1056 | | [go-floc](https://github.com/workanator/go-floc) |轻松编排goroutine。| 1057 | | [go-flow](https://github.com/kamildrazkiewicz/go-flow) | 控制goroutine的执行顺序。| 1058 | | [go-tools/multithreading](https://github.com/nikhilsaraf/go-tools) | 使用带有简单API的轻量级库管理goroutine池。| 1059 | | [go-trylock](https://github.com/subchen/go-trylock) | 支持Golang的读写锁的TryLock。| 1060 | | [go-waitgroup](https://github.com/pieterclaerhout/go-waitgroup) |sync.WaitGroup与错误处理和并发控制类似。| 1061 | | [gohive](https://github.com/loveleshsharma/gohive) | Go的高性能和易于使用的Goroutine池。| 1062 | | [gollback](https://github.com/vardius/gollback) | 异步简单函数实用程序,用于管理闭包和回调的执行。| 1063 | | [GoSlaves](https://github.com/themester/GoSlaves) | 简单和异步Goroutine池库。| 1064 | | [goworker](https://github.com/benmanns/goworker) | goworker是基于Go的后台工作者。| 1065 | | [gowp](https://github.com/xxjwxc/gowp) | gowp是并发限制goroutine池。| 1066 | | [gpool](https://github.com/Sherifabdlnaby/gpool) | 管理可调整大小的上下文感知goroutine池以绑定并发。| 1067 | | [grpool](https://github.com/ivpusic/grpool) | 轻巧的Goroutine池。| 1068 | | [Hunch](https://github.com/AaronJan/Hunch) | 预感提供功能,如:All,First,Retry,Waterfall等等,这使得异步流控制更加直观。| 1069 | | [oversight](https://cirello.io/oversight) | 监督是Erlang监督树的完整实现。| 1070 | | [parallel-fn](https://github.com/rafaeljesus/parallel-fn) | 并行运行功能。| 1071 | | [pool](https://github.com/go-playground/pool) | 有限的消费者goroutine池或无限制的goroutine池,以便更轻松地处理和取消goroutine。| 1072 | | [queue](https://github.com/AnikHasibul/queue) | 为您提供sync.WaitGroup类似的队列组可访问性。帮助您节流和限制goroutine,等待所有goroutine结束等等。| 1073 | | [routine](https://github.com/x-mod/routine) | 具有上下文和支持的例程控制:Main,Go,Pool和一些有用的Executors。| 1074 | | [semaphore](https://github.com/kamilsk/semaphore) | 基于通道和上下文的具有锁定/解锁操作超时的信号量模式实现。| 1075 | | [semaphore](https://github.com/marusama/semaphore) | 基于CAS的快速可调整大小的信号量实现(比基于通道的信号量实现更快)。| 1076 | | [stl](https://github.com/ssgreg/stl) | 基于软件交易内存(STM)并发控制机制的软件交易锁。| 1077 | | [threadpool](https://github.com/shettyh/threadpool) | Golang线程池实现。| 1078 | | [tunny](https://github.com/Jeffail/tunny) | 线程池golang。| 1079 | | [worker-pool](https://github.com/vardius/worker-pool) | goworker是一个简单的Go异步工作池。| 1080 | | [workerpool](https://github.com/gammazero/workerpool) | Goroutine池,它限制了任务执行的并发性,而不是排队的任务数。| 1081 | 1082 | - 图形界面 1083 | 1084 | 1085 | | 包 | 说明 | 1086 | |:---------:|:------:| 1087 | | [app](https://github.com/murlokswarm/app) | 打包以使用GO,HTML和CSS创建应用的程序。支持:MacOS,Windows正在开发中。| 1088 | | [fyne](https://github.com/fyne-io/fyne) | 为Go设计的跨平台本机GUI,使用EFL呈现。支持:Linux,macOS,Windows。| 1089 | | [go-astilectron](https://github.com/asticode/go-astilectron) | 使用GO和HTML / JS / CSS(由Electron支持)构建跨平台GUI应用。| 1090 | | [go-gtk](http://mattn.github.io/go-gtk/) | GTK的绑定。| 1091 | | [go-sciter](https://github.com/sciter-sdk/go-sciter) | Go绑定:用于现代桌面UI开发的可嵌入HTML / CSS / script引擎。跨平台。| 1092 | | [gotk3](https://github.com/gotk3/gotk3) | GTK3的绑定。| 1093 | | [gowd](https://github.com/dtylman/gowd) | 使用GO,HTML,CSS和NW.js进行快速简单的桌面UI开发。跨平台。| 1094 | | [qt](https://github.com/therecipe/qt) | Go的Qt绑定(支持Windows / macOS / Linux / Android / iOS / Sailfish OS / Raspberry Pi)。| 1095 | | [ui](https://github.com/andlabs/ui) | Go的平台本地GUI库。跨平台。| 1096 | | [Wails](https://wails.app/) | 使用内置OS HTML渲染器的HTML UI的Mac,Windows,Linux桌面应用程序。| 1097 | | [walk](https://github.com/lxn/walk) | Go的Windows应用程序库工具包。| 1098 | | [webview](https://github.com/zserge/webview) | 具有简单双向JavaScript绑定的跨平台Webview窗口(Windows / macOS / Linux)。| 1099 | | [go-appindicator](https://github.com/dawidd6/go-appindicator) | libappindicator3 C库的Go绑定。| 1100 | | [gosx-notifier](https://github.com/deckarep/gosx-notifier) | Go的OSX桌面通知库。| 1101 | | [mac-activity-tracker](https://github.com/prashantgupta24/activity-tracker) | OSX库,用于通知计算机上的任何(可插入)活动。| 1102 | | [mac-sleep-notifier](https://github.com/prashantgupta24/mac-sleep-notifier) | golang中的OSX睡眠/唤醒通知。| 1103 | | [robotgo](https://github.com/go-vgo/robotgo) | Go本机跨平台GUI系统自动化。控制鼠标,键盘等。| 1104 | | [systray](https://github.com/getlantern/systray) | 跨平台的Go库,用于在通知区域中放置图标和菜单。| 1105 | | [trayhost](https://github.com/shurcooL/trayhost) | 跨平台的Go库,用于在主机操作系统的任务栏中放置一个图标。| 1106 | 1107 | - 图片 1108 | 1109 | 1110 | | 包 | 说明 | 1111 | |:---------:|:------:| 1112 | | [bild](https://github.com/anthonynsimon/bild) | 纯Go中图像处理算法的集合。| 1113 | | [bimg](https://github.com/h2non/bimg) | 使用libvips进行快速有效的图像处理的小包装。| 1114 | | [cameron](https://github.com/aofei/cameron) | Go的头像生成器。| 1115 | | [canvas](https://github.com/tdewolff/canvas) | 将矢量图形转换为PDF,SVG或光栅图像。| 1116 | | [darkroom](https://github.com/gojek/darkroom) | 具有可变存储后端的图像代理和侧重于速度和弹性的图像处理引擎。| 1117 | | [geopattern](https://github.com/pravj/geopattern) | 从字符串创建漂亮的生成图像图案。| 1118 | | [gg](https://github.com/fogleman/gg) | 纯Go中的2D渲染。| 1119 | | [gift](https://github.com/disintegration/gift) | 图像处理过滤器的包装。| 1120 | | [gltf](https://github.com/qmuntal/gltf) | 高效,强大的glTF 2.0读取器,写入器和验证器。| 1121 | | [go-cairo](https://github.com/ungerik/go-cairo) | 用于cairo图形库的绑定。| 1122 | | [go-gd](https://github.com/bolknote/go-gd) | GD库的Go绑定。| 1123 | | [go-nude](https://github.com/koyachi/go-nude) | Go的裸露检测。| 1124 | | [go-opencv](https://github.com/lazywei/go-opencv) | 用于OpenCV的绑定。| 1125 | | [go-webcolors](https://github.com/jyotiska/go-webcolors) | webcolors库的端口,从Python到Go。| 1126 | | [gocv](https://github.com/hybridgroup/gocv) | 使用OpenCV 3.3+进行计算机视觉的Go软件包。| 1127 | | [goimagehash](https://github.com/corona10/goimagehash) | Go感知图像哈希包。| 1128 | | [goimghdr](https://github.com/corona10/goimghdr) | imghdr模块确定Go文件中包含的图像类型。| 1129 | | [govatar](https://github.com/o1egl/govatar) | 用于生成有趣头像的库和CMD工具。| 1130 | | [image2ascii](https://github.com/qeesung/image2ascii) | 将图像转换为ASCII。| 1131 | | [imagick](https://github.com/gographics/imagick) | 绑定到ImageMagick的MagickWand C API。| 1132 | | [imaginary](https://github.com/h2non/imaginary) | 用于图像大小调整的快速,简单的HTTP微服务。| 1133 | | [imaging](https://github.com/disintegration/imaging) | 简单的Go图像处理包。| 1134 | | [img](https://github.com/hawx/img) | 选择图像处理工具。| 1135 | | [ln](https://github.com/fogleman/ln) | Go中的3D线条艺术渲染。| 1136 | | [mergi](https://github.com/noelyahan/mergi) | 用于图像处理(合并,裁切,调整大小,水印,动画)的Tool&Go库。| 1137 | | [mort](https://github.com/aldor007/mort) | 用Go编写的存储和图像处理服务器。| 1138 | | [mpo](https://github.com/donatj/mpo) | 用于MPO 3D照片的解码器和转换工具。| 1139 | | [picfit](https://github.com/thoas/picfit) | 用Go编写的图像大小调整服务器。| 1140 | | [pt](https://github.com/fogleman/pt) | 用Go语言编写的路径跟踪引擎。| 1141 | | [resize](https://github.com/nfnt/resize) | 使用常见的插值方法为Go 调整图像大小。| 1142 | | [rez](https://github.com/bamiaux/rez) | 在纯Go和SIMD中调整图像大小。| 1143 | | [smartcrop](https://github.com/muesli/smartcrop) | 查找适合任何图像和尺寸的优质作物。| 1144 | | [steganography](https://github.com/auyer/steganography) | 用于LSB隐写术的Pure Go库。| 1145 | | [stegify](https://github.com/DimitarPetrov/stegify) | 用于LSB隐写术的Go工具,能够隐藏图像中的任何文件。| 1146 | | [svgo](https://github.com/ajstarks/svgo) | 用于SVG生成的Go语言库。| 1147 | | [tga](https://github.com/ftrvxmtrx/tga) | 软件包tga是TARGA图像格式的解码器/编码器。| 1148 | | [photo-translate](https://www.photo-translate.top/) | 图片翻译。| 1149 | 1150 | - 物联网 1151 | 1152 | 1153 | | 包 | 说明 | 1154 | |:---------:|:------:| 1155 | | [connectordb](https://github.com/connectordb/connectordb) | 量化自我和物联网的开源平台。| 1156 | | [devices](https://github.com/goiot/devices) | IoT设备库套件,针对x / exp / io进行实验。| 1157 | | [eywa](https://github.com/xcodersun/eywa) | Project Eywa本质上是一个连接管理器,用于跟踪连接的设备。| 1158 | | [flogo](https://github.com/tibcosoftware/flogo) | Project Flogo是一个用于IoT Edge应用和集成的开源框架。| 1159 | | [gatt](https://github.com/paypal/gatt) | 盖特是一个围棋包构建低功耗蓝牙外设。| 1160 | | [gobot](https://github.com/hybridgroup/gobot/) | Gobot是机器人技术,物理计算和物联网的框架。| 1161 | | [huego](https://github.com/amimof/huego) | 适用于Go的飞利浦Hue扩展客户端库。| 1162 | | [iot](https://github.com/vaelen/iot/) | IoT是用于实现Google IoT Core设备的简单框架。| 1163 | | [mainflux](https://github.com/Mainflux/mainflux) | 工业物联网消息和设备管理服务器。| 1164 | | [periph](https://periph.io/) | 外设I / O与低级别的主板设备接口。| 1165 | | [sensorbee](https://github.com/sensorbee/sensorbee) | 用于物联网的轻量级流处理引擎。| 1166 | 1167 | - JSON格式 1168 | 1169 | 1170 | | 包 | 说明 | 1171 | |:---------:|:------:| 1172 | | [ajson](https://github.com/spyzhov/ajson) | 具有JSONPath支持的golang的抽象JSON。| 1173 | | [gjo](https://github.com/skanehira/gjo) | 用于创建JSON对象的小型实用程序。| 1174 | | [GJSON](https://github.com/tidwall/gjson) | 使用一行代码获取JSON值。| 1175 | | [go-jsonerror](https://github.com/ddymko/go-jsonerror) | Go-JsonError可让我们轻松创建遵循JsonApi规范的json响应错误。| 1176 | | [go-respond](https://github.com/nicklaw5/go-respond) | Go包,用于处理常见的HTTP JSON响应。| 1177 | | [gojq](https://github.com/elgs/gojq) | Golang中的 JSON查询。| 1178 | | [gojson](https://github.com/ChimeraCoder/gojson) | 从示例JSON自动生成Go(golang)结构定义。| 1179 | | [JayDiff](https://github.com/yazgazan/jaydiff) | 用Go编写的JSON diff实用程序。| 1180 | | [jettison](https://github.com/wI2L/jettison) | 用于Go的高性能,无反射JSON编码器。| 1181 | | [JSON-to-Go](https://mholt.github.io/json-to-go/) | 将JSON转换为Go结构。| 1182 | | [json2go](https://github.com/m-zajac/json2go) | 高级JSON到Go结构转换。提供可以解析多个JSON文档并创建适合所有JSON的结构的包。| 1183 | | [jsonapi-errors](https://github.com/AmuzaTkts/jsonapi-errors) |根据JSON API错误参考进行绑定。| 1184 | | [jsonf](https://github.com/miolini/jsonf) | 突出显示格式和获取JSON的结构查询的控制台工具。| 1185 | | [jsongo](https://github.com/ricardolonga/jsongo) |Fluent API,可以更轻松地创建Json对象。| 1186 | | [jsonhal](https://github.com/RichardKnop/jsonhal) | 简单的Go包,用于将自定义结构编组为HAL兼容的JSON响应。| 1187 | | [kazaam](https://github.com/Qntfy/kazaam) | 用于JSON文档的任意转换的API。| 1188 | | [mp](https://github.com/sanbornm/mp) | 简单的cli电子邮件解析器。当前,它使用标准输入并输出JSON。| 1189 | 1190 | - 机器学习 1191 | 1192 | 1193 | | 包 | 说明 | 1194 | |:---------:|:------:| 1195 | | [bayesian](https://github.com/jbrukh/bayesian) | 贝叶斯分类为Golang天真。| 1196 | | [CloudForest](https://github.com/ryanbressler/CloudForest) | 快速,灵活,多线程的决策树集合,用于纯Go中的机器学习。| 1197 | | [eaopt](https://github.com/MaxHalford/eaopt) | 进化优化库。| 1198 | | [evoli](https://github.com/khezen/evoli) | 遗传算法和粒子群优化库。| 1199 | | [fonet](https://github.com/Fontinalis/fonet) | 用Go编写的深度神经网络库。| 1200 | | [go-cluster](https://github.com/e-XpertSolutions/go-cluster) | k模式和k-原型聚类算法的Go实现。| 1201 | | [go-deep](https://github.com/patrikeh/go-deep) | Go中功能丰富的神经网络库| 1202 | | [go-fann](https://github.com/white-pony/go-fann) | 快速人工神经网络(FANN)库的Go绑定。| 1203 | | [go-galib](https://github.com/thoj/go-galib) | 用Go / golang编写的遗传算法库。| 1204 | | [go-pr](https://github.com/daviddengcn/go-pr) | Go lang中的模式识别包。| 1205 | | [gobrain](https://github.com/goml/gobrain) | 用go语言编写的神经网络| 1206 | | [godist](https://github.com/e-dard/godist) | 各种概率分布及相关方法。| 1207 | | [goga](https://github.com/tomcraven/goga) | Go的遗传算法库。| 1208 | | [GoLearn](https://github.com/sjwhitworth/golearn) |用于Go的通用机器学习库。| 1209 | | [golinear](https://github.com/danieldk/golinear) | Go的liblinear绑定。| 1210 | | [GoMind](https://github.com/surenderthakran/gomind) | Go中的简单神经网络库。| 1211 | | [goml](https://github.com/cdipaolo/goml) | Go中的在线机器学习。| 1212 | | [Goptuna](https://github.com/c-bata/goptuna) | 用于Go语言编写的黑盒函数的贝叶斯优化框架。一切都会被优化。| 1213 | | [goRecommend](https://github.com/timkaye11/goRecommend) | 用Go编写的推荐算法库。| 1214 | | [gorgonia](https://github.com/gorgonia/gorgonia) | 基于图形的计算库,例如Theano for Go,它提供了用于构建各种机器学习和神经网络算法的原语。| 1215 | | [gorse](https://github.com/zhenghaoz/gorse) | 基于Go编写的协作过滤的离线推荐系统后端。| 1216 | | [goscore](https://github.com/asafschers/goscore) | 用于PMML的Go Scoring API。| 1217 | | [gosseract](https://github.com/otiai10/gosseract) | 使用Tesseract C ++库的OCR(光学字符识别)软件包。| 1218 | | [libsvm](https://github.com/datastream/libsvm) | 基于LIBSVM 3.14 libsvm的golang版本衍生作品。| 1219 | | [neat](https://github.com/jinyeom/neat) | 用于增强拓扑神经演化(NEAT)的即插即用,并行Go框架。| 1220 | | [neural-go](https://github.com/schuyler/neural-go) | go-在Go中实现的多层感知器网络,通过反向传播进行训练。| 1221 | | [ocrserver](https://github.com/otiai10/ocrserver) | 一个简单的OCR API服务器,非常容易被Docker和Heroku部署。| 1222 | | [onnx-go](https://github.com/owulveryck/onnx-go) | 转到开放神经网络交换(ONNX)的接口。| 1223 | | [probab](https://github.com/ThePaw/probab) | 概率分布函数。贝叶斯推断。用纯Go语言编写。| 1224 | | [regommend](https://github.com/muesli/regommend) | 建议和协作过滤引擎。| 1225 | | [shield](https://github.com/eaigner/shield) | 贝叶斯文本分类器,具有灵活的标记器和Go的存储后端。| 1226 | | [tfgo](https://github.com/galeone/tfgo) | 易于使用的Tensorflow绑定:简化了官方Tensorflow Go绑定的使用。在Go中定义计算图,加载并执行经过Python训练的模型。| 1227 | | [Varis](https://github.com/Xamber/Varis) | Golang神经网络。| 1228 | 1229 | - 金融 1230 | 1231 | 1232 | | 包 | 说明 | 1233 | |:---------:|:------:| 1234 | | [unioffice](https://github.com/unidoc/unioffice) | Pure Go库,用于创建和处理Office Word(.docx),Excel(.xlsx)和Powerpoint(.pptx)文档。| 1235 | | [excelize](https://github.com/360EntSecGroup-Skylar/excelize) | Golang库用于读取和写入Microsoft Excel™(XLSX)文件。| 1236 | | [go-excel](https://github.com/szyhf/go-excel) | 一个简单而轻便的阅读器,可以将类似于related-db的excel读取为表格。| 1237 | | [goxlsxwriter](https://github.com/fterrag/goxlsxwriter) | libxlsxwriter的Golang绑定,用于编写XLSX(Microsoft Excel)文件。| 1238 | | [xlsx](https://github.com/tealeg/xlsx) | 用于简化在Go程序中读取Microsoft Excel最新版本使用的XML格式的库。| 1239 | | [xlsx](https://github.com/plandem/xlsx) | 在Go程序中快速/安全地读取/更新您现有的Microsoft Excel文件的方法。| 1240 | 1241 | - 自然语言处理 1242 | 1243 | 1244 | | 包 | 说明 | 1245 | |:---------:|:------:| 1246 | | [getlang](https://github.com/rylans/getlang) | 快速自然语言检测程序包。| 1247 | | [go-i18n](https://github.com/nicksnyder/go-i18n/) | 用于处理本地化文本的软件包和一个随附工具。| 1248 | | [go-mystem](https://github.com/dveselov/mystem) | CGo与Yandex.Mystem的绑定-俄罗斯形态分析仪。| 1249 | | [go-nlp](https://github.com/nuance/go-nlp) | 用于处理离散概率分布的实用程序和其他可用于执行NLP工作的工具。| 1250 | | [go-pinyin](https://github.com/mozillazg/go-pinyin) | CN Hanzi至Hanyu拼音转换器。| 1251 | | [go-stem](https://github.com/agonopol/go-stem) | 搬运程序阻止算法的实现。| 1252 | | [go-unidecode](https://github.com/mozillazg/go-unidecode) | Unicode文本的ASCII音译。| 1253 | | [go2vec](https://github.com/danieldk/go2vec) | 用于word2vec嵌入的阅读器和实用程序功能。| 1254 | | [gojieba](https://github.com/yanyiwu/gojieba) | 这是一个围棋实施解霸其中中国分词算法。| 1255 | | [golibstemmer](https://github.com/rjohnsondev/golibstemmer) | 雪球库libstemmer库的绑定,包括porter 2。| 1256 | | [gotokenizer](https://github.com/xujiajun/gotokenizer) | 基于字典和Goram语言的Bigram语言模型的标记器。(现在仅支持中文细分)| 1257 | | [gounidecode](https://github.com/fiam/gounidecode) | Go的Unicode音译器(也称为unidecode)。| 1258 | | [gse](https://github.com/go-ego/gse) | 进行有效的文本分割;支持英语,中文,日语等。| 1259 | | [icu](https://github.com/goodsign/icu) | CGO结合为ICU4C C库检测和转换功能。保证与版本50.1兼容。| 1260 | | [kagome](https://github.com/ikawaha/kagome) | 用纯Go语言编写的JP形态分析仪。| 1261 | | [libtextcat](https://github.com/goodsign/libtextcat) | libtextcat C库的Cgo绑定。保证与2.2版兼容。| 1262 | | [MMSEGO](https://github.com/awsong/MMSEGO) | 这是MMSEG的GO实现,它是中文分词算法。| 1263 | | [nlp](https://github.com/Shixzie/nlp) | 从字符串中提取值,并用nlp填充您的结构。| 1264 | | [nlp](https://github.com/james-bowman/nlp) | 支持LSA(潜在语义分析)的自然语言处理库。| 1265 | | [paicehusk](https://github.com/rookii/paicehusk) | Paice / Husk提取算法的Golang实现。| 1266 | | [petrovich](https://github.com/striker2000/petrovich) | 彼得罗维奇(Petrovich)是库,在给定的语法情况下使用俄语名称。| 1267 | | [porter](https://github.com/a2800276/porter) | 这是Martin Porter的Porter干算法的C实现的相当简单的移植。| 1268 | | [porter2](https://github.com/zhenjl/porter2) | 非常快的Porter 2 提取器。| 1269 | | [prose](https://github.com/jdkato/prose) | 用于文本处理的库,支持标记化,词性标记,命名实体提取等。仅限英语。| 1270 | | [RAKE.go](https://github.com/Obaied/RAKE.go) | 快速自动关键字提取算法(RAKE)的Go端口。| 1271 | | [segment](https://github.com/blevesearch/segment) | 用于执行Unicode标准附件#29中所述的Unicode文本分段的Go库| 1272 | | [sentences](https://github.com/neurosnap/sentences) | 句子标记器:将文本转换为句子列表。| 1273 | | [shamoji](https://github.com/osamingo/shamoji) | shamoji是用Go编写的单词过滤程序包。| 1274 | | [snowball](https://github.com/goodsign/snowball) | Go的雪球茎端口(cgo包装器)。提供单词词干提取功能Snowball本机。| 1275 | | [stemmer](https://github.com/dchest/stemmer) | 用于Go编程语言的Stemmer软件包。包括英语和德语词干。| 1276 | | [textcat](https://github.com/pebbe/textcat) |Go软件包,用于基于n-gram的文本分类,并支持utf-8和原始文本。| 1277 | | [whatlanggo](https://github.com/abadojack/whatlanggo) | Go的自然语言检测程序包。支持84种语言和24种脚本(书写系统,例如拉丁语,西里尔字母等)。| 1278 | | [when](https://github.com/olebedev/when) | 自然EN和RU语言日期/时间分析器具有可插拔的规则。| 1279 | 1280 | - 网络 1281 | 1282 | 1283 | | 包 | 说明 | 1284 | |:---------:|:------:| 1285 | | [arp](https://github.com/mdlayher/arp) |包arp实现ARP协议,如RFC 826中所述。| 1286 | | [buffstreams](https://github.com/stabbycutyou/buffstreams) | 通过TCP流化协议缓冲区数据变得容易。| 1287 | | [canopus](https://github.com/zubairhamed/canopus) | CoAP客户端/服务器实施(RFC 7252)。| 1288 | | [cidranger](https://github.com/yl2chen/cidranger) | Go的快速IP到CIDR查找。| 1289 | | [dhcp6](https://github.com/mdlayher/dhcp6) | 软件包dhcp6实现了DHCPv6服务器,如RFC 3315中所述。| 1290 | | [dns](https://github.com/miekg/dns) | 使用DNS的Go库。| 1291 | | [ether](https://github.com/songgao/ether) | 用于发送和接收以太网帧的跨平台Go软件包。| 1292 | | [ethernet](https://github.com/mdlayher/ethernet) | 程序包ethernet实施IEEE 802.3以太网II帧和IEEE 802.1Q VLAN标签的封送处理。| 1293 | | [fasthttp](https://github.com/valyala/fasthttp) | 软件包fasthttp是Go的一种快速HTTP实现,比net / http快10倍。| 1294 | | [fortio](https://github.com/fortio/fortio) | 负载测试库和命令行工具,高级回显服务器和Web UI。允许指定设置的每秒查询负载,并记录延迟直方图和其他有用的统计数据并对其进行图形化。Tcp,Http,gRPC。| 1295 | | [ftp](https://github.com/jlaffaye/ftp) | 程序包ftp实现RFC 959中所述的FTP客户端。| 1296 | | [gev](https://github.com/Allenxuxu/gev) | gev是基于Reactor模式的轻量级,快速,无阻塞的TCP网络库。| 1297 | | [gmqtt](https://github.com/DrmagicE/gmqtt) | Gmqtt是一个灵活的高性能MQTT代理库,它完全实现了MQTT协议V3.1.1。| 1298 | | [gnet](https://github.com/panjf2000/gnet) | gnet是一个高性能的,用纯围棋轻便,非阻塞,事件循环网络库。| 1299 | | [gNxI](https://github.com/google/gnxi) | 使用gNMI和gNOI协议的网络管理工具的集合。| 1300 | | [go-getter](https://github.com/hashicorp/go-getter) | Go库,用于使用URL从各种来源下载文件或目录。| 1301 | | [go-powerdns](https://github.com/joeig/go-powerdns) | Golang的 PowerDNS API绑定。| 1302 | | [go-stun](https://github.com/ccding/go-stun) | STUN客户端的Go实现(RFC 3489和RFC 5389)。| 1303 | | [gobgp](https://github.com/osrg/gobgp) | 使用Go编程语言实现的BGP。| 1304 | | [golibwireshark](https://github.com/sunwxg/golibwireshark) | 软件包golibwireshark使用libwireshark库来解码pcap文件并分析解剖数据。| 1305 | | [gopacket](https://github.com/google/gopacket) | Go库,用于使用libpcap绑定进行数据包处理。| 1306 | | [gopcap](https://github.com/akrennmair/gopcap) | libpcap的包装器。| 1307 | | [goshark](https://github.com/sunwxg/goshark) | 软件包goshark使用tshark解码IP数据包并创建数据结构以分析数据包。| 1308 | | [gosnmp](https://github.com/soniah/gosnmp) | 用于执行SNMP操作的本机Go库。| 1309 | | [gosocsvr](https://github.com/rakeki/gosocsvr) | 套接字服务器变得简单。| 1310 | | [gotcp](https://github.com/gansidui/gotcp) | 用于快速编写tcp应用程序的Go软件包。| 1311 | | [grab](https://github.com/cavaliercoder/grab) | 用于管理文件下载的软件包。| 1312 | | [graval](https://github.com/koofr/graval) | 实验性FTP服务器框架。| 1313 | | [HTTPLab](https://github.com/gchaincl/httplab) | HTTPLabs可让您检查HTTP请求并伪造响应。| 1314 | | [iplib](https://github.com/c-robinson/iplib) | 受python ipaddress和ruby ipaddr启发而使用IP地址(net.IP,net.IPNet)的库| 1315 | | [jazigo](https://github.com/udhos/jazigo) | Jazigo是用Go语言编写的工具,用于检索多个网络设备的配置。| 1316 | | [kcp-go](https://github.com/xtaci/kcp-go) | KCP-快速可靠的ARQ协议。| 1317 | | [kcptun](https://github.com/xtaci/kcptun) | 基于KCP协议的极其简单和快速的udp隧道。| 1318 | | [lhttp](https://github.com/fanux/lhttp) | 强大的websocket框架,可更轻松地构建IM服务器。| 1319 | | [linkio](https://github.com/ian-kent/linkio) | 用于读取器/写入器接口的网络链接速度模拟。| 1320 | | [llb](https://github.com/kirillDanshin/llb) | 这是代理服务器的非常简单但快速的后端。对于零内存分配和快速响应的快速重定向到预定义域很有用。| 1321 | | [mdns](https://github.com/hashicorp/mdns) | Golang中的简单mDNS(多播DNS)客户端/服务器库。| 1322 | | [mqttPaho](https://eclipse.org/paho/clients/golang/) | Paho Go客户端提供了一个MQTT客户端库,用于通过TCP,TLS或WebSockets连接到MQTT代理。| 1323 | | [NFF-Go](https://github.com/intel-go/nff-go) | 用于快速开发云和裸机(以前的YANFF)的高性能网络功能的框架。| 1324 | | [packet](https://github.com/aerogo/packet) | 通过TCP和UDP发送数据包。如果需要,它可以缓冲消息和热交换连接。| 1325 | | [peerdiscovery](https://github.com/schollz/peerdiscovery) | Pure Go库,用于使用UDP多播的跨平台本地对等发现。| 1326 | | [portproxy](https://github.com/aybabtme/portproxy) | 简单的TCP代理,它将不支持它的API添加到CORS支持中。| 1327 | | [publicip](https://github.com/polera/publicip) | 软件包publicip返回您的面向公众的IPv4地址(互联网出口)。| 1328 | | [quic-go](https://github.com/lucas-clemente/quic-go) |在纯Go中实现QUIC协议。| 1329 | | [raw](https://github.com/mdlayher/raw) | 包raw允许在设备驱动程序级别为网络接口读取和写入数据。| 1330 | | [sftp](https://github.com/pkg/sftp) | 程序包sftp实现SSH文件传输协议,如[https://filezilla-project.org/specs/draft-ietf-secsh-filexfer-02.txt](https://filezilla-project.org/specs/draft-ietf-secsh-filexfer-02.txt)| 1331 | | [ssh](https://github.com/gliderlabs/ssh) | 用于构建SSH服务器的高级API(包装crypto / ssh)。| 1332 | | [sslb](https://github.com/eduardonunesp/sslb) | 这是一个超级简单的负载均衡器,只是一个实现某种性能的小项目。| 1333 | | [stun](https://github.com/go-rtc/stun) | 实施RFC 5389 STUN协议。| 1334 | | [tcp_server](https://github.com/firstrow/tcp_server) | 用于更快地构建tcp服务器的Go库。| 1335 | | [tspool](https://github.com/two/tspool) | TCP库使用工作池来提高性能并保护您的服务器。| 1336 | | [utp](https://github.com/anacrolix/utp) | 围棋UTP微传输协议的实现。| 1337 | | [water](https://github.com/songgao/water) | 简单的TUN / TAP库。| 1338 | | [webrtc](https://github.com/pions/webrtc) | WebRTC API的纯Go实现。| 1339 | | [winrm](https://github.com/masterzen/winrm) | 进入WinRM客户端以在Windows计算机上远程执行命令。| 1340 | | [xtcp](https://github.com/xfxdev/xtcp) | 具有同步全双工通信,安全关闭,自定义协议的TCP Server Framework。| 1341 | 1342 | 1343 | 1344 | 1345 | - 视频 1346 | 1347 | 1348 | | 包 | 说明 | 1349 | |:---------:|:------:| 1350 | | [go-astisub](https://github.com/asticode/go-astisub) | 在GO中处理字幕(.srt,.stl,.ttml,.webvtt,.ssa / .ass,图文电视,.smi等)。| 1351 | | [go-astits](https://github.com/asticode/go-astits) | 在GO中本地解析和解复用MPEG传输流(.ts)。| 1352 | | [go-m3u8](https://github.com/quangngotan95/go-m3u8) | Apple m3u8播放列表的解析器和生成器库。| 1353 | | [goav](https://github.com/giorgisio/goav) | FFmpeg的综合Go绑定。| 1354 | | [gst](https://github.com/ziutek/gst) | GStreamer的绑定。| 1355 | | [libgosubs](https://github.com/wargarblgarbl/libgosubs) | go的字幕格式支持。支持.srt,.ttml和.ass。| 1356 | | [libvlc-go](https://github.com/adrg/libvlc-go) | libvlc 2.X / 3.X / 4.X的绑定(由VLC媒体播放器使用)。| 1357 | | [m3u8](https://github.com/grafov/m3u8) | Apple HLS的M3U8播放列表的解析器和生成器库。| 1358 | | [v4l](https://github.com/korandiz/v4l) | 用Go编写的Linux视频捕获库。| 1359 | 1360 | 1361 | 1362 | 1363 | 1364 | 1365 | 1366 | 1367 | 1368 |

1369 | 1370 | 1371 | ## 开源书籍 1372 | | 书籍名 | 推荐理由 | 1373 | |:---------:|:------:| 1374 | | [Go palyground](https://play.golang.org/) |不用搭建本地 Go 环境,在线就编写 Go 的代码| 1375 | | [Go实战开发](https://github.com/astaxie/go-best-practice) | 作者是著名的 Go 开源项目 beego 的作者,他的最佳实践非常值得阅读| 1376 | | [Go Web 编程](https://github.com/astaxie/build-web-application-with-golang/blob/master/zh/preface.md) | 跟前面一本书作者是同一位,讲的是web开发| 1377 | | [Go语言标准库](https://books.studygolang.com/The-Golang-Standard-Library-by-Example) | 对标准库的介绍| 1378 | | [Go入门指南](https://github.com/Unknwon/the-way-to-go_ZH_CN/blob/master/eBook/directory.md) | 比较适合新手,内容相对基础一些 | 1379 | | [Go语言圣经](http://shouce.jb51.net/gopl-zh/ch1/ch1-01.html) | 书如其名 | 1380 | | [Go语言中文网](https://studygolang.com/topics) | 找对圈子,学的更快| 1381 | | [菜鸟教程](https://www.runoob.com/go/go-environment.html) | 这个网站非常适合快速上手某门语言| 1382 | | [Go语言高级编程](https://chai2010.cn/advanced-go-programming-book) | 内容适合进阶| 1383 | | [go语言原本](https://golang.design/under-the-hood/) | 欧神出品,虽然号称进度只有9.9%/100%,但不妨碍它的优秀,值得一看| 1384 | | [golang设计模式](https://github.com/senghoo/golang-design-pattern) | 设计模式 Golang实现,《研磨设计模式》的golang实现| 1385 | | [Go语言四十二章经](https://github.com/ffhelicopter/Go42) | 可以对比查漏补缺| 1386 | 1387 | 1388 | 1389 | 1390 | 1391 | ## 视频网课 1392 | 关注[公众号](#公众号) 回复【教程】即可在知识的海洋里呛水。 1393 | 1394 | 1395 |
1396 |
1397 |
1398 | 1399 | 1400 | 1401 | 1402 | 1403 | 1404 | 欢迎关注公众号:【小白debug】 1405 | ![](https://cdn.jsdelivr.net/gh/xiaobaiTech/image/%E5%B0%8F%E7%99%BDdebug%E5%8A%A8%E5%9B%BE%E4%BA%8C%E7%BB%B4%E7%A0%81.gif) 1406 | 1407 | ![](https://cdn.jsdelivr.net/gh/zhaolunallen/picture/2021-1-10/1610269930614-640.png) 1408 | 1409 | 1410 | 1411 | 1412 | -------------------------------------------------------------------------------- /main.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import ( 4 | "fmt" 5 | ) 6 | 7 | 8 | func main() { 9 | fmt.Println("公众号:【小白debug】") 10 | } 11 | 12 | --------------------------------------------------------------------------------