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

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.

主站蜘蛛池模板: 哈尔滨市| 建瓯市| 凤台县| 庆城县| 巴里| 腾冲县| 景洪市| 阿坝县| 都匀市| 景宁| 滨州市| 永昌县| 海盐县| 兴山县| 花莲市| 黑河市| 兖州市| 天峻县| 桃园县| 北流市| 吉首市| 象州县| 万源市| 米脂县| 库尔勒市| 平潭县| 青阳县| 监利县| 清丰县| 江北区| 绍兴市| 嘉峪关市| 玉龙| 吴旗县| 连南| 龙泉市| 遵化市| 大石桥市| 武汉市| 黎川县| 泰兴市|