andyron/go-projects 一系列代码少的小Golang项目。
| 项目名 | 知识点 | 介绍 | |
|---|---|---|---|
| ch001_todo | Scanner、strings.Split、strings.Join、strconv.Atoi、slices |
一个简单的命令行TODO | |
| ch002_ls | os.ReadDir |
实现ls命令 | |
| ch003_file_watcher | os.Stat |
监听文件是否被修改 | |
| ch004_cat | io.Copy、os.Stdout |
实现命令cat | |
https://www.youtube.com/watch?v=xbI2ELnVGAo&list=PLYmIsLVSssdIxboWkccLoRWdX32-tpg21&index=7