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

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
主站蜘蛛池模板: 三穗县| 绍兴市| 寻乌县| 体育| 淮滨县| 于田县| 新郑市| 广东省| 乃东县| 民丰县| 明水县| 诸城市| 宁明县| 台南市| 连云港市| 吉木萨尔县| 枣强县| 常熟市| 太康县| 驻马店市| 芦山县| 和静县| 莱芜市| 泰和县| 云阳县| 古丈县| 霍林郭勒市| 安徽省| 岫岩| 九龙坡区| 华安县| 镶黄旗| 黔江区| 阿荣旗| 拉萨市| 马鞍山市| 浙江省| 屯昌县| 鄂伦春自治旗| 凉城县| 当阳市|