- 博客(3)
- 收藏
- 关注
转载 使用vim-go插件进行golang开发
Go (golang) support for Vim, which comes with pre-defined sensible settings (like auto gofmt on save), with autocomplete, snippet support, improved...
2016-10-07 04:45:00
427
转载 解决VIM编码错误问题
查看文件的编码: :echo &fileencoding Vim 有四个跟字符编码方式有关的选项,encoding、fileencoding、fileencodings、termencoding (这些选项可能的取值请参考 Vim 在线帮助 :help encoding-names)...
2016-10-07 04:30:00
323
转载 使用Go的闭包机制实现斐波那契数列
package main import “fmt” // fibonacci 函数会返回一个返回 int 的函数。 func fibonacci() func() int { curVal := 0 postVal := 1 fun := func() int{ ...
2016-10-05 23:00:00
443
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人