《Go语言入门到进阶实战》学习笔记:第一章 初识Go语言

1.1Go语言特性

(1)Go语言是一种静态型、编译型并自带垃圾回收和并发的编程语言。

(2)Go语言最有特色的特性是goroutine,通过它对函数实现并发执行。

(3)Go语言非常适用于高并发网络服务的编写。

(4)Go语言标准库覆盖网络、系统、加密、编码、图形等各个方面。标准库表:

 (5)强制代码风格,Go中左括号必须紧接着语句不换行。

(6)i++是一个语句。++i和a=i++都是错误的写法,Go中只存在i++这个语句。

1.2使用Go语言的项目

(1)Docker项目。https://github.com/docker/docker

(2)golang项目。https://github.com/golang/go

(3)Kubernetes项目。https://github.com/kubernestes/kubernestes

(4)etcd项目。https://github.com/coreos/etcd

(5)beego项目。https://github.com/astaxie/beego

(6)martini项目。https://github.com/go-martini/martini

(7)codis项目。https://github.com/CodisLabs/codis

(8)delve项目。https://github.com/derekparker/delve

1.3安装语言开发包

https://blog.csdn.net/qq_36214481/article/details/88684461

1.4开发环境搭建

本文参照:https://blog.csdn.net/animatecat/article/details/81483174  完成Go land的破解。

猜你喜欢

转载自blog.csdn.net/qq_36214481/article/details/88682482
今日推荐