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

Building Blocks of the Go Language

Welcome to the first chapter of our journey, where we will learn about full stack development in Go. This chapter is dedicated to readers who are not yet familiar with Go. If you are already proficient in the Go language, you can skip this chapter. We'll cover the basic building blocks that form the foundation of the Go language, which will be covered in a brief but practical manner. Then, we'll show you the Go syntax for basic programming constructs like functions and loops. We'll also cover some concepts that are specific to Go like slice, panic, and defer. This chapter assumes that you have some familiarity with programming concepts in general (like variables, functions, loops, and conditional statements). This chapter also assumes that you have some familiarity with Terminals, and command lines, as well as the concept of environmental variables.

A very good resource to learn about the Go language from scratch can be found at tour.golang.org.

In this chapter, we'll cover the following topics:

  • Basic concepts—packages, variables, data types, and pointers
  • Functions and closures
  • Conditional statements and loops
  • panic, recover, and defer
  • Go data structures
  • Go interfaces

主站蜘蛛池模板: 牙克石市| 新巴尔虎右旗| 鞍山市| 黑河市| 衡阳市| 惠来县| 阿尔山市| 鹿邑县| 永靖县| 读书| 吉木乃县| 浮梁县| 老河口市| 博湖县| 天气| 西青区| 昔阳县| 陇西县| 凉山| 扎兰屯市| 凉山| 自贡市| 封开县| 黔江区| 平乐县| 宾阳县| 怀安县| 石嘴山市| 澄城县| 巫山县| 巴彦淖尔市| 东丽区| 清徐县| 洪湖市| 泊头市| 潼南县| 寿阳县| 阳东县| 化隆| 龙海市| 大渡口区|