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

Setting up the project and running the development server

This is a building series book. It assumes you already know the basics of Go. If not, no worries. You can jump start and learn them quickly from Go's official site at https://golang.org/. Go uses a different way of developing projects. Writing a standalone, simple program doesn't bother you much. But after learning the basics, people try to advance a step further. For that reason, as a Go developer, you should know how Go projects are laid out and the best practices to keep your code clean.

Make sure you have done the following things before proceeding:

  • Install Go compiler on your machine
  • Set GOROOT and GOPATH environment variables

There are many online references from which you can get to know the preceding details. Depending on your machine type (Windows, Linux, or macOS X), set up a working Go compiler. We see more details about GOPATH in the following section.

主站蜘蛛池模板: 朝阳市| 九龙城区| 石泉县| 监利县| 鸡西市| 乌海市| 四子王旗| 仁寿县| 高唐县| 汾阳市| 建宁县| 肃北| 建水县| 那坡县| 乌鲁木齐市| 蓝山县| 靖远县| 吉木萨尔县| 南昌市| 邻水| 镇江市| 汉沽区| 玛曲县| 金坛市| 奉新县| 昭平县| 茂名市| 洛隆县| 思茅市| 桃园市| 丹凤县| 乌什县| 乡宁县| 南和县| 岳西县| 桂东县| 东丰县| 肇东市| 恩平市| 咸丰县| 淄博市|