Skip to content

hequan2017/go-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-test

何全个人练习

学习视频资料

https://www.bilibili.com/video/av76169197

讲师博客 ttps://www.liwenzhou.com/posts/Go/go_menu/

学习进度

2019/12/24

var  const  _  iota常量计数器

uint
int

数字字面量语法

float32

len(str)	求长度
+或fmt.Sprintf	拼接字符串
strings.Split	分割
strings.contains	判断是否包含
strings.HasPrefix,strings.HasSuffix	前缀/后缀判断
strings.Index(),strings.LastIndex()	子串出现的位置
strings.Join(a[]string, sep string)	join操作

byte
rune

if else(分支结构)

for range(键值循环)
for循环可以通过break、goto、return、panic语句强制退出循环。
switch case
goto 

视频看到 20

Releases

No releases published

Packages

No packages published

Languages