golang
文章平均质量分 75
深海深蓝
这个作者很懒,什么都没留下…
展开
-
golang 读取配置文件
unix 风格的配置文件原创 2014-07-14 23:38:58 · 3663 阅读 · 1 评论 -
golang 写二叉查找树练习
package mainimport ( "fmt")type item struct { key int}type btree struct { lchild, rchild *btree item item count int}func compare(x, y item) int { var ret int switc原创 2014-08-06 17:45:33 · 721 阅读 · 0 评论 -
Ten Useful Techniques in Go
原文地址:http://arslan.io/ten-useful-techniques-in-goHere are my own best practices that I've gathered from my personal experiences with dealing lots of Go code for the past years. I believe they转载 2014-08-06 22:34:14 · 686 阅读 · 0 评论 -
golang 基于go-sql-driver的增删改查的简单封装
mysql> desc test;+-------+---------+------+-----+---------+----------------+| Field | Type | Null | Key | Default | Extra |+-------+---------+------+-----+---------+----------------+|原创 2014-08-12 17:07:30 · 4268 阅读 · 0 评论