module
Version:
v0.0.0-...-861e6a5
Opens a new window with list of versions in this module.
Published: Feb 13, 2023
License: GPL-3.0
Opens a new window with license information.
README
¶
安装
从[官网]下载对应系统的tar.gz包
解压包内文件到usr/local/go然后添加用户变量:
echo export PATH=$PATH:/usr/local/go/bin >> ~/.bashrc
重启电脑,然后尝试一下:
go version
运行代码
go run main.go
翻译自Go 网站
文件夹
- go1-
包、变量和函数
- go2-
流程控制语句:for、if、else、switch 和 defer
- go3-
更多类型:struct、slice 和映射
- go4-
方法和接口
- go5-
并发
Directories
¶
Click to show internal directories.
Click to hide internal directories.