Echo Web Framework Posted on 2018年3月16日 by 海明博士 高性能可扩展极简 Web 框架 快速开始 安装 [crayon-647dea69c10e7100210028/.. Read more go 语言
Gin Web Framework Posted on 2018年2月9日 by 海明博士 Gin web 框架 Gin是用Go(Golang)编写的一个网页框架。它具有类似马提尼的API,具有更好的性.. Read more go 语言
Go语言 | Go 1.9 新特性 Type Alias详解 Posted on 2017年8月26日 by 海明博士 - Updated 2018年5月4日 北京时间2017.08.25,Go1.9正式版发布了。Go1.9经历了2个beta,好几个月,终于定了,发布了.. Read more go 语言
go语言之Json Posted on 2016年3月1日 by 海明博士 - Updated 2018年3月1日 Marshal func Marshal(v interface{}) ([]byte, error) 把.. Read more go 语言
Go语言指针笔记 Posted on 2016年1月10日 by 海明博士 - Updated 2018年1月11日 不像 Java 和 .NET,Go 语言为程序员提供了控制数据结构的指针的能力;但是,你不能进行指针运算。通过.. Read more go 语言
将函数作为参数 Posted on 2016年1月9日 by 海明博士 - Updated 2018年1月12日 函数可以作为其它函数的参数进行传递,然后在其它函数内调用执行,一般称之为回调。下面是一个将函数作为参数的简单例.. Read more go 语言
go语言 闭包 Posted on 2016年1月8日 by 海明博士 - Updated 2018年1月12日 当我们不希望给函数起名字的时候,可以使用匿名函数,例如:func(x, y int) int { return.. Read more go 语言
go 数组与切片 Posted on 2016年1月7日 by 海明博士 - Updated 2018年1月12日 概念 数组是具有相同 唯一类型 的一组已编号且长度固定的数据项序列(这是一种同构的数据结构);这种类型可以是.. Read more go 语言
理解 go interface 的 5 个关键点 Posted on 2014年3月6日 by 海明博士 - Updated 2018年3月6日 1、interface 是一种类型 Go type I interface { Get() int } 123 type I interface {Get() int} 首先 i.. Read more go 语言
go http请求指定请求HOST Posted on 2014年2月28日 by 海明博士 - Updated 2018年3月1日 在公司内部,经常会有域名是需要绑定host才能访问的,如果是通过浏览器访问,我们会修改本机的hosts文件;然.. Read more go 语言