2017年9月26日

go interface 的坑

摘要: 一、概述 运行: [root@node175 demo]# go run server.go # command-line-arguments./server.go:20: cannot use MyPrint literal (type MyPrint) as type Interface in 阅读全文

posted @ 2017-09-26 12:08 阳台 阅读(789) 评论(0) 推荐(0)

golang项目结构

摘要: 一、概述 golang更新了环境变量,导致整个goproject的结构改变: 为什么生成goproject是如此布局呢? 答案在/etc/profile文件中的go env相关配置中; 阅读全文

posted @ 2017-09-26 12:01 阳台 阅读(422) 评论(0) 推荐(0)

导航