官术网_书友最值得收藏!

Structuring a project

A project might have more than just the source code for the project, for example, configuration files and project documentation. Depending upon preferences, the way the project is structured can drastically change. However, the most important thing to remember is that the entry point to the whole program is through the main function, which is implemented within main.go as a convention.

The application we will be building in this book, will have the following initial structure:

$ tree
.
├── common
│   ├── helpers.go
│   └── test_helpers.go
└── main.go
主站蜘蛛池模板: 蒙城县| 新乡市| 义马市| 江油市| 普陀区| 长治市| 城步| 来宾市| 金寨县| 玛多县| 齐河县| 和田市| 哈尔滨市| 微博| 新密市| 新乐市| 永嘉县| 雅安市| 香港| 鄂伦春自治旗| 绥芬河市| 叙永县| 玛曲县| 溧阳市| 柘荣县| 南丰县| 临湘市| 永吉县| 曲阳县| 蒙阴县| 鄂州市| 西平县| 栖霞市| 固镇县| 鸡东县| 江阴市| 巢湖市| 五寨县| 阿巴嘎旗| 青铜峡市| 梓潼县|