Skip to content

jingzhouzhao/golang_study

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Golang Studying

go_path src下新建golang_studying

git clone 到 golang_studying目录下。

day1:

经典hello golang示例

提高入门兴趣的goroute(并发),channle(线程通信)示例

day2:

变量声明、作用域

数据类型

值传递、引用传递、指针

day3:

Scanf、strings、strconv

函数传递

defer

等等

day4:

panic,recover

new,make

闭包

数组与切片

rune

map

线程同步

排序算法

day5:

结构体struct

链表

方法如何声明

继承的实现

接口(一组方法)定义、实现

图书管理系统demo /example10

day6:

接口使用实例

通用链表实例

反射使用示例

反射获取字段Tag

day7:

终端读写

缓冲区读写

文件读写

Gzip读写

命令行参数读取

io/ioutil

json序列化、反序列化

自定义Error

day8:

Goroutine

Goroutine使用chan通信,阻塞

只读只写chan

chan select

定时器

单元测试

day9:

socket

redis

day10:

http

http/模板

mysql

sqlx使用

day11:

kafka

tailf

logs

日志收集

day12:

context

etcd

kafka consumer

wait group

day13:

beego

unsafe

日志收集transfer

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published