上QQ阅读APP看书,第一时间看更新
A note about paths
In the first example, I used the ~/myprojects/learn-fp-go path. The path that I actually used to create the code in this book is ~/clients/packt/dev/learn-fp-go. So, please don't be confused by those paths. They are the same thing.
Also, later in the book, when we start using Dot Init, the screenshots may reference the ~/dev directory. That comes from the Init script, that is, MY_DEV_DIR=~/dev.
Here are a few links in that directory:
01_duck@ -> /Users/lex/clients/packt/dev/learn-fp-go/2-design-patterns/ch04-solid/01_duck
01_hof@ -> /Users/lex/clients/packt/dev/learn-fp-go/1-functional-fundamentals/ch03-hof/01_hof
04_onion@ -> /Users/lex/clients/packt/dev/learn-fp-go/2-design-patterns/ch07-onion-arch/04_onion
For more information about Dot Init, see the appendix.