Skip to content

go basic learning exercises for starting trip as a new beginner or reviewing courses

License

Notifications You must be signed in to change notification settings

crazybber/go-fucking-exercise

Repository files navigation

说明 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 当前目录结构

More 更多

learn go patterns by real example ?

想通过例子,学习一下go的常用的模式?看这里:

Go模式(go-awesome-patterns)