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

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

主站蜘蛛池模板: 玉屏| 临西县| 大悟县| 普兰店市| 永泰县| 抚远县| 车险| 澄城县| 图木舒克市| 昭苏县| 墨江| 达州市| 太仓市| 台湾省| 胶南市| 噶尔县| 瑞安市| 武威市| 昌图县| 龙里县| 会同县| 武安市| 绥棱县| 林州市| 泸西县| 天镇县| 如皋市| 梁山县| 金昌市| 黎城县| 旌德县| 元朗区| 天祝| 高唐县| 颍上县| 阳春市| 长寿区| 宜兴市| 宁国市| 郓城县| 德清县|