Commit Graph

155 Commits

Author SHA1 Message Date
chen.yang 61b1d34158 增加 CGO 交叉编译(for ARM32).
Signed-off-by: chen.yang <chen.yang@yuzhen-iot.com>
2021-12-13 17:17:10 +08:00
chen.yang 36eb06af24 增加 Go dlv 远程调试.
Signed-off-by: chen.yang <chen.yang@yuzhen-iot.com>
2021-12-13 15:52:30 +08:00
chen.yang 68a5289577 增加资料.
Signed-off-by: chen.yang <chen.yang@yuzhen-iot.com>
2021-12-02 14:27:43 +08:00
chen.yang 925e3908bc 修正对 O_EXCL 的解释说明.
Signed-off-by: chen.yang <chen.yang@yuzhen-iot.com>
2021-12-01 20:34:25 +08:00
chen.yang 70a869f551 增加 VSCode 调试 Golang 无法 Input 问题的解决.
Signed-off-by: chen.yang <chen.yang@yuzhen-iot.com>
2021-11-26 10:29:42 +08:00
chen.yang 9469ebe4b9 增加 Golang 调用其它包中的私有函数、全局变量.
Signed-off-by: chen.yang <chen.yang@yuzhen-iot.com>
2021-11-13 15:44:07 +08:00
chen.yang 64fbc46223 增加 Stripped build.
Signed-off-by: chen.yang <chen.yang@yuzhen-iot.com>
2021-11-12 19:56:54 +08:00
chen.yang e8914930a3 增加 GDB 远程调试 Golang.
Signed-off-by: chen.yang <chen.yang@yuzhen-iot.com>
2021-11-02 23:58:00 +08:00
chen.yang 608f1bb9d9 增加 go 编译参数.
Signed-off-by: chen.yang <chen.yang@yuzhen-iot.com>
2021-10-28 20:25:44 +08:00
chen.yang d56230c350 增加 Gloang 文件操作.
Signed-off-by: chen.yang <chen.yang@yuzhen-iot.com>
2021-10-25 11:45:21 +08:00
chen.yang 7c03e48489 调整文件位置.
Signed-off-by: chen.yang <chen.yang@yuzhen-iot.com>
2021-10-25 11:29:46 +08:00
chen.yang 346d4f0347 增加 Golang 切片地址.
Signed-off-by: chen.yang <chen.yang@yuzhen-iot.com>
2021-10-23 20:38:33 +08:00
chen.yang 05a7388641 增加 连接库 相关说明.
Signed-off-by: chen.yang <chen.yang@yuzhen-iot.com>
2021-10-16 17:50:51 +08:00
chen.yang 0834154566 修正格式.
Signed-off-by: chen.yang <chen.yang@yuzhen-iot.com>
2021-09-22 20:10:51 +08:00
chen.yang 2148c1b028 修正内容.
Signed-off-by: chen.yang <chen.yang@yuzhen-iot.com>
2021-09-06 10:25:41 +08:00
chen.yang d979c5e966 调整格式.
Signed-off-by: chen.yang <chen.yang@yuzhen-iot.com>
2021-09-02 13:25:19 +08:00
chen.yang 0822f2767f 补充信息.
Signed-off-by: chen.yang <chen.yang@yuzhen-iot.com>
2021-08-30 14:22:03 +08:00
chen.yang ac28aa5b3e 修正示例代码.
Signed-off-by: chen.yang <chen.yang@yuzhen-iot.com>
2021-08-25 17:55:59 +08:00
chen.yang 2b5ff66aa2 增加 字符串查找 方法.
Signed-off-by: chen.yang <chen.yang@yuzhen-iot.com>
2021-08-24 20:32:05 +08:00
chen.yang 2a686da658 使用 Usage 替换 Percent.
Signed-off-by: chen.yang <chen.yang@yuzhen-iot.com>
2021-08-19 15:46:31 +08:00
chen.yang 5bcaaba508 补充说明和示例代码.
Signed-off-by: chen.yang <chen.yang@yuzhen-iot.com>
2021-08-19 14:56:47 +08:00
chen.yang 127ef4381e 增加 Golang 获取硬件参数及 CPU/内存/硬盘 的使用率.
Signed-off-by: chen.yang <chen.yang@yuzhen-iot.com>
2021-08-19 14:28:43 +08:00
chen.yang 35c4af64ed 优化格式.
Signed-off-by: chen.yang <chen.yang@yuzhen-iot.com>
2021-08-18 15:25:36 +08:00
chen.yang 40780144a3 增加 Cpp Virtual 析构函数.
Signed-off-by: chen.yang <chen.yang@yuzhen-iot.com>
2021-08-13 17:10:14 +08:00
chen.yang 7c85a958a4 重命名.
Signed-off-by: chen.yang <chen.yang@yuzhen-iot.com>
2021-08-13 10:39:54 +08:00
chen.yang f4a5969b76 Golang 安装 Packages 归类到包操作中.
Signed-off-by: chen.yang <chen.yang@yuzhen-iot.com>
2021-08-13 10:38:42 +08:00
chen.yang 47928007cb 增加 Golang: Using Paho Mqtt.
Signed-off-by: chen.yang <chen.yang@yuzhen-iot.com>
2021-08-13 09:44:06 +08:00
chen.yang 765ef02a7c 增加 怎么使用 Golang 的 Channel 做广播.
Signed-off-by: chen.yang <chen.yang@yuzhen-iot.com>
2021-08-12 18:59:26 +08:00
chen.yang 075ca1c6e9 补充资料.
Signed-off-by: chen.yang <chen.yang@yuzhen-iot.com>
2021-08-12 18:35:04 +08:00
chen.yang 786449d2ed 修正一处语法错误.
Signed-off-by: chen.yang <chen.yang@yuzhen-iot.com>
2021-08-12 10:35:31 +08:00
chen.yang 65aa0c6fd1 补充 外部程序绑定标准输入输出 和 外部参考资料.
Signed-off-by: chen.yang <chen.yang@yuzhen-iot.com>
2021-08-11 16:01:45 +08:00
chen.yang d07f5e449a 增加 带 Cancel 的外部命令调用.
Signed-off-by: chen.yang <chen.yang@yuzhen-iot.com>
2021-08-11 14:31:39 +08:00
chen.yang 59fd6800e4 用 Mermaid 改写.
Signed-off-by: chen.yang <chen.yang@yuzhen-iot.com>
2021-08-03 11:22:47 +08:00
chen.yang ced92008bd 增加 Cpp 虚继承和虚基类详解.
Signed-off-by: chen.yang <chen.yang@yuzhen-iot.com>
2021-08-03 10:07:17 +08:00
chen.yang 4b3d9f6042 增加 UML 继承与多继承.
Signed-off-by: chen.yang <chen.yang@yuzhen-iot.com>
2021-08-03 10:06:53 +08:00
chen.yang aa10c02bd8 增加 Golang 获取 Goroutine ID 的两种实现.
Signed-off-by: chen.yang <chen.yang@yuzhen-iot.com>
2021-08-03 09:34:43 +08:00
chen.yang a8bc6197e8 增加 Golang Chan 超时.
Signed-off-by: chen.yang <chen.yang@yuzhen-iot.com>
2021-08-03 09:27:35 +08:00
chen.yang fa33b05e7c 增加 Golang Map 转 Json 的顺序问题.
Signed-off-by: chen.yang <chen.yang@yuzhen-iot.com>
2021-08-03 09:25:42 +08:00
chen.yang 2ef88801df 增加打印信息.
Signed-off-by: chen.yang <chen.yang@yuzhen-iot.com>
2021-07-31 12:26:55 +08:00
chen.yang 99c99a0658 增加 Golang 面向对象编程.
Signed-off-by: chen.yang <chen.yang@yuzhen-iot.com>
2021-07-30 14:57:37 +08:00
chen.yang e2cf98a18d 增加 有关 Package 中 init 方法的多处定义及运行顺序问题.
Signed-off-by: chen.yang <chen.yang@yuzhen-iot.com>
2021-07-28 15:58:34 +08:00
chen.yang 172f14733f 补充 godoc.
Signed-off-by: chen.yang <chen.yang@yuzhen-iot.com>
2021-07-27 16:45:27 +08:00
chen.yang d582c5f14f 修正格式.
Signed-off-by: chen.yang <chen.yang@yuzhen-iot.com>
2021-07-27 16:42:20 +08:00
chen.yang a266fa34ef 修正语法错误, 添加 Route 命令.
Signed-off-by: chen.yang <chen.yang@yuzhen-iot.com>
2021-07-22 14:48:20 +08:00
rick.chan 827c9004a9 增加注意事项.
Signed-off-by: rick.chan <chen.yang@yuzhen-iot.com>
2021-07-17 19:57:04 +08:00
rick.chan 801bd33cc5 增加 Go Plugin.
Signed-off-by: rick.chan <chen.yang@yuzhen-iot.com>
2021-07-17 18:37:59 +08:00
rick.chan 0bc1c9a8bb 补充内容.
Signed-off-by: rick.chan <chen.yang@yuzhen-iot.com>
2021-07-17 11:32:46 +08:00
rick.chan fb37ee794a 增加 go 扩展包.
Signed-off-by: rick.chan <chen.yang@yuzhen-iot.com>
2021-07-16 09:09:35 +08:00
rick.chan e12187bd80 修正命令错误.
Signed-off-by: rick.chan <chen.yang@yuzhen-iot.com>
2021-07-16 08:46:26 +08:00
rick.chan e3c558e546 增加 Golang 闭包实例详解.
Signed-off-by: rick.chan <chenyang@autoai.com>
2021-07-07 13:37:39 +08:00
rick.chan adb96a4b2f 增加 Golang 性能评测之 pprof.
Signed-off-by: rick.chan <chenyang@autoai.com>
2021-06-30 15:32:04 +08:00
rick.chan 58e61b84cf 补充 import 语法.
Signed-off-by: rick.chan <chenyang@autoai.com>
2021-06-30 14:41:40 +08:00
rick.chan af9a1929bf 为 NATS 详解 补充内容.
Signed-off-by: rick.chan <chenyang@autoai.com>
2021-06-29 16:52:00 +08:00
rick.chan d99cc1626b 修正标题.
Signed-off-by: rick.chan <chenyang@autoai.com>
2021-06-24 14:18:45 +08:00
rick.chan ff379a18e0 文件重命名.
Signed-off-by: rick.chan <chenyang@autoai.com>
2021-06-24 14:18:16 +08:00
rick.chan 1d6a2b885b 增加 Caffe SSD 目标检测.
Signed-off-by: rick.chan <chenyang@autoai.com>
2021-06-10 14:20:41 +08:00
rick.chan b68dc7a5c5 补充软件包.
Signed-off-by: rick.chan <chenyang@autoai.com>
2021-06-08 17:44:05 +08:00
rick.chan 132861f628 补充资料.
Signed-off-by: rick.chan <chenyang@autoai.com>
2021-06-07 10:34:07 +08:00
lion.chan 3b9159bb7a 添加镜像源.
Signed-off-by: lion.chan <cy187lion@sina.com>
2021-06-06 13:17:32 +08:00
rick.chan 11cb07b9da 补充 常用 Python 包.
Signed-off-by: rick.chan <chenyang@autoai.com>
2021-06-04 15:36:54 +08:00
lion.chan 25cc645a48 优化示例程序.
Signed-off-by: lion.chan <cy187lion@sina.com>
2021-05-26 22:48:07 +08:00
rick.chan 79f6ca7fd0 增加 Go.mod 入门.
Signed-off-by: rick.chan <chenyang@autoai.com>
2021-04-14 10:59:02 +08:00
rick.chan c38e3fa949 增加 Go filepath 包基本使用.
Signed-off-by: rick.chan <chenyang@autoai.com>
2021-04-14 10:27:12 +08:00
rick.chan 83832789a7 补充 库变量 和 库宏.
Signed-off-by: rick.chan <chenyang@autoai.com>
2021-04-13 11:53:54 +08:00
rick.chan 398cc5eac4 增加 perror 说明.
Signed-off-by: rick.chan <chenyang@autoai.com>
2021-04-12 09:06:48 +08:00
rick.chan 7b37dd2231 增加 C 标准库实用说明.
Signed-off-by: rick.chan <chenyang@autoai.com>
2021-03-31 11:03:35 +08:00
rick.chan 73dcb72bac 补充缺失的命令.
Signed-off-by: rick.chan <chenyang@autoai.com>
2021-03-18 18:44:34 +08:00
rick.chan 123dff3199 补充 android GOARCH 参数.
Signed-off-by: rick.chan <chenyang@autoai.com>
2021-03-11 11:37:58 +08:00
rick.chan 7f0ac55978 增加 Seek 方法.
Signed-off-by: rick.chan <chenyang@autoai.com>
2021-03-11 11:11:13 +08:00
rick.chan 991717bf58 增加 Golang Debug 问题及解决.
Signed-off-by: rick.chan <chenyang@autoai.com>
2021-03-11 09:35:04 +08:00
rick.chan b6901d3b70 std::thread 库
Signed-off-by: rick.chan <chenyang@autoai.com>
2021-03-10 13:42:22 +08:00
rick.chan ac7ca25456 增加 Go 包的创建和使用.
Signed-off-by: rick.chan <chenyang@autoai.com>
2021-02-25 15:15:45 +08:00
rick.chan 10c4a8acb2 补充命令.
Signed-off-by: rick.chan <chenyang@autoai.com>
2021-01-29 17:11:56 +08:00
rick.chan c09657c5f3 增加 Golang 的命名规范及大小写的访问权限.
Signed-off-by: rick.chan <chenyang@autoai.com>
2021-01-22 17:50:48 +08:00
rick.chan 9333da9424 增加 细说 Golang 的 JSON 解析.
Signed-off-by: rick.chan <chenyang@autoai.com>
2021-01-18 14:51:38 +08:00
rick.chan 4a3e8643cd 增加 Unix domain sockets in Go.
Signed-off-by: rick.chan <chenyang@autoai.com>
2021-01-18 14:37:23 +08:00
rick.chan 3e2d39c1c4 增加字符串长度计算.
Signed-off-by: rick.chan <chenyang@autoai.com>
2021-01-18 11:58:39 +08:00
rick.chan e31607662b 增加 Example.
Signed-off-by: rick.chan <chenyang@autoai.com>
2021-01-06 13:35:42 +08:00
rick.chan fe4f04ba13 修正一些错误.
Signed-off-by: rick.chan <chenyang@autoai.com>
2021-01-06 13:21:30 +08:00
rick.chan ab610edb16 Build and Use Go Packages as C Libraries
Signed-off-by: rick.chan <chenyang@autoai.com>
2021-01-06 11:39:33 +08:00
rick.chan 25837393f6 补充 安装 Packages 方法.
Signed-off-by: rick.chan <chenyang@autoai.com>
2020-12-25 17:38:22 +08:00
rick.chan f0b30c4e32 增加 Golang 安装 Packages.
Signed-off-by: rick.chan <chenyang@autoai.com>
2020-12-25 17:36:16 +08:00
rick.chan d6e0a6453d 增加 Golang 执行外部程序.
Signed-off-by: rick.chan <chenyang@autoai.com>
2020-12-21 14:08:47 +08:00
rick.chan 0d97a6b403 补充对 Python 包的说明.
Signed-off-by: rick.chan <chenyang@autoai.com>
2020-12-03 13:52:01 +08:00
rick.chan 97291c6fd7 增加 Golang 实现 MP4 视频文件服务器.
Signed-off-by: rick.chan <chenyang@autoai.com>
2020-12-01 18:04:49 +08:00
rick.chan d9f68235d0 修改文件名并补充 r/b/u/f 的含义.
Signed-off-by: rick.chan <chenyang@autoai.com>
2020-11-23 18:22:35 +08:00
rick.chan ba1355eb5f 完善 Go 文件操作.
Signed-off-by: rick.chan <chenyang@autoai.com>
2020-11-23 17:52:38 +08:00
rick.chan 39e58d40eb 补充 字符串查找 方法.
Signed-off-by: rick.chan <chenyang@autoai.com>
2020-11-13 18:15:19 +08:00
rick.chan ea74bcd1d5 增加 Go 交叉编译.
Signed-off-by: rick.chan <chenyang@autoai.com>
2020-11-12 11:22:33 +08:00
rick.chan 08cbb36fe2 GCC 扩展 之 数组初始化
Signed-off-by: rick.chan <chenyang@autoai.com>
2020-10-16 10:18:23 +08:00
rick.chan 3a6aaedf34 重命名.
Signed-off-by: rick.chan <chenyang@autoai.com>
2020-10-13 14:27:12 +08:00
rick.chan 3b9b03f684 补充内容.
Signed-off-by: rick.chan <chenyang@autoai.com>
2020-10-13 14:26:49 +08:00
rick.chan c4de5dbd88 增加 Go 文件操作.
Signed-off-by: rick.chan <chenyang@autoai.com>
2020-10-13 14:08:29 +08:00
rick.chan b9322b4e66 补充 Usage 方法.
Signed-off-by: rick.chan <chenyang@autoai.com>
2020-10-13 14:03:14 +08:00
rick.chan a061d5ac4f 补充 Go 语言字符串操作.
Signed-off-by: rick.chan <chenyang@autoai.com>
2020-10-13 13:58:09 +08:00
rick.chan 008dc770ef 增加 Go 语言 flag 包基本使用.
Signed-off-by: rick.chan <chenyang@autoai.com>
2020-10-13 13:54:38 +08:00
rick.chan 74c4ad2522 增加 Python str 与 bytes 之间的转换.
Signed-off-by: rick.chan <chenyang@autoai.com>
2020-10-13 13:34:45 +08:00
rick.chan e5cbc662cb 修正代码格式.
Signed-off-by: rick.chan <chenyang@autoai.com>
2020-10-13 13:34:00 +08:00
rick.chan 1d36e271f8 增加 Linux 下搭建 Go 开发环境.
Signed-off-by: rick.chan <chenyang@autoai.com>
2020-10-02 09:40:36 +08:00
rick.chan 39559e4f44 统一格式.
Signed-off-by: rick.chan <chenyang@autoai.com>
2020-09-28 16:48:24 +08:00