- 博客(7)
- 收藏
- 关注
原创 The Learning Journey Of Go
This is my seventh day of learning go. In this time ,i learn (1)Type parameters,Generic types.i think these are abstract .The type parameters of a function appear between brackets, before the function's arguments. (2)channel The data flows in the dir
2022-11-29 22:14:14 58 1
原创 The Learning Journey Of Go
This is my sixth time to learn go,it has been a long time since the last learning.During this learning,i learned (1) methods go does not have classes,butbwe can define methods on types.You can only declare a method with a receiver whose type is defined i
2022-11-24 21:59:32 73
原创 The Learning Journey Of Go
This is the fifth day of learning go. (1)slice default When slicing, you may omit the high or low bounds to use their defaults instead.The default is zero for the low bound and the length of the slice for the high bound. for the array var a [10]int
2022-11-19 01:00:25 70
原创 The Learning Journey Of Go
This is the fourth day to learn go. (1)pointers & operator generates a pointer to its operand. *operator denotes the pointer's underlying value. (2)struct Struct fields are accessed using a dot. like v.x 。(*p).x can be inste
2022-11-18 00:34:36 68
原创 The Learning Journey Of Go
This is the third day to learn go.This day i learn the second path of Basics. (1) for loop it don't need parentheses surrounding the three components of the for statement and the braces {}.init and post statements are optional.for has the same ability of
2022-11-17 00:59:05 75
原创 The Learning Journey Of GO
This is the second day to learning go.This day i look through the first content of Basics,in this part, (1) i learn package main,i found all the go program beginwith package main. (2) And Import,it can be grouped into a parenthesized or multiple import s
2022-11-16 00:49:07 63
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人