“go build” and “go install” “go build” and “go install” Let’s tidy up the $GOPATH directory and only keep Go source code files left over: # tree . ├── bin ├── pkg...
参考资料 先直接来看维基百科里的定义: If it looks like a duck, swims like a duck, and quacks like a duck, then it probably is a duck. 翻译过来就是:如果某个东西长得像鸭子,像鸭子一样游泳,像鸭子一样嘎嘎叫,那它就可以被看成是一只鸭子。 Duck ...