repositorypackage
0.0.0-20210204021026-541f5b812198
Repository: https://github.com/crazybber/go-exercise.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# README
说明 instruction
if you want to find go-awesome-patterns you can check : Go Patterns(go-awesome-patterns)
如果你是冲着 go的各种实践模式(包含常用设计模式),看这里:Go模式(go-awesome-patterns)
repo can be used as a basic starter or reviewing of golang features
本仓库是Go语言基础,用来温习Go的常用套路或者作为入门学习.
all case was written by testing ,more story more cases
都以Test方式来写,方便直接测试,内容更加丰富,Test Case更加完善.
dowload 下载:
go get github.com/crazybber/go-fucking-exercise
Test 测试:
cd go-fucking-exercise
go test ./...
Ways 姿势
逐个跑一遍或者敲一遍(可以直接COPY),但是要确保理解了,就可以丢一边了。
current dir structure 当前目录结构
- basic 基础类型
- pattern go 的基本组合继承模式
- go routine 和Channels
- skill 常用套路
- sync 同步相关
- iostream 流相关,如文件流
- Command Lines
- process 进程相关
- Network 网络相关
- attentions(一些坑)
- misc 有用的杂项
More 更多
learn go patterns by real example ?
想通过例子,学习一下go的常用的模式?看这里: