好好爱自己!

摘要: 原文:http://studygolang.com/articles/4356 在Golang里,import的作用是导入其他package,但是今天在看beego框架时看到了import 下划线,不知其意,故百度而解之。 import 下划线(如:import _ hello/imp)的作用:当导 阅读全文
posted @ 2017-06-24 14:57 立志做一个好的程序员 阅读(404) 评论(0) 推荐(0) 编辑
摘要: SQL.Open only creates the DB object, but dies not open any connections to the database. If you want to test your connections you have to execute a que 阅读全文
posted @ 2017-06-24 12:19 立志做一个好的程序员 阅读(6065) 评论(0) 推荐(0) 编辑
摘要: Go Cross Compilation from Windows to Linux/Ubuntu I have GO 1.7 installed on my Windows 10. I created test program and it works perfectly in Windows. 阅读全文
posted @ 2017-06-24 11:20 立志做一个好的程序员 阅读(19657) 评论(0) 推荐(0) 编辑

不断学习创作,与自己快乐相处