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

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

主站蜘蛛池模板: 新津县| 依安县| 陆丰市| 澄迈县| 竹溪县| 盐池县| 宜章县| 彩票| 三明市| 广平县| 汤阴县| 台江县| 崇仁县| 汉阴县| 肇州县| 苍梧县| 香港 | 汨罗市| 承德市| 祁门县| 金乡县| 巴青县| 西贡区| 正宁县| 天镇县| 平顺县| 柞水县| 岳池县| 阿巴嘎旗| 临安市| 三门县| 美姑县| 石阡县| 乐陵市| 屯留县| 石渠县| 夏津县| 出国| 凤庆县| 清流县| 大关县|