# go-study **Repository Path**: luoyang112/go-study ## Basic Information - **Project Name**: go-study - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2026-03-23 - **Last Updated**: 2026-03-24 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Go 语言学习教程 本目录包含 w3cschool Go 教程的配套示例代码,按章节组织。 ## 目录结构 ``` study/ ├── environment/ # Go 环境安装和配置 ├── language-structure/ # Hello World 和程序结构 ├── basic-syntax/ # 基础语法 ├── data-types/ # Go 数据类型 ├── variables/ # 变量声明和使用 ├── constants/ # 常量定义 ├── operators/ # 各种运算符 ├── conditionals/ # if/switch 语句 ├── loops/ # for 循环和 range ├── functions/ # 函数定义和调用 ├── variable-scope/ # 变量作用域规则 ├── arrays/ # 数组操作 ├── pointers/ # 指针基础 ├── structs/ # 结构体定义和使用 ├── slices/ # 切片操作 ├── range/ # range 用法 ├── maps/ # Map 集合 ├── recursion/ # 递归函数 ├── type-conversion/ # 类型转换 ├── interfaces/ # 接口定义和实现 ├── error-handling/ # 错误处理机制 ├── goroutines/ # Goroutine 并发 ├── channels/ # Channel 通信 ├── timers/ # 定时器使用 ├── file-operations/ # 文件读写 ├── json/ # JSON 序列化/反序列化 ├── network-programming/ # HTTP 网络编程 ├── websocket/ # WebSocket 网络编程 ├── feishu/ # 飞书 API 客户端示例 ``` ## 运行示例 进入任意章节目录,运行: ```bash go run .go ``` 例如: ```bash cd language-structure go run hello_world.go ``` ## 学习资源 - [Go 官方文档](https://golang.google.cn/doc/) - [Go 官方教程](https://golang.google.cn/doc/tutorial/) - [w3cschool Go 教程](https://www.w3cschool.cn/go/) ## 环境要求 - Go 1.16+ - 无需额外依赖 ## 说明 - websocket 目录包含了 WebSocket 编程示例 - feishu 目录包含了飞书 API 客户端示例 祝学习愉快!🐹