golang sublime gosublime margo
发表于|更新于|golang
2020-01-17,目前版本的gosublime还不支持直接通过package control安装
需要手动安装
安装gosublime
1 | 1. 首选项->浏览插件目录 |
激活margo
这个需要打开sublime后依次按下三个键
ctrl按住不放,然后依次按下逗号,然后x
1 | ctrl+.+x |
文章作者: developer
版权声明: 本博客所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明来源 Dev!
相关推荐
2021-01-27
golang 注意点
引用slice、map、channel 是引用类型,而不是引用传递https://blog.csdn.net/ljlinjiu/article/details/88852863
2019-09-30
golang 静态编译 sqlite
需要安装mingw-w64-install不是Cygwin64 Terminal
2019-03-01
golang 时间 格式化
go格式化时间必须使用6-1-2-3-4-5这个时间点 时间戳1fmt.Println(time.Now().Unix()) 格式化1fmt.Println(time.Now().Format("2006-01-02 15:04:05")) 时间戳格式化1time.Unix(1389058332, 0).Format("2006-01-02 15:04:05") 时间解析1234the_time, err := time.Parse("2006-01-02 15:04:05", "2014-01-08 09:04:41")if err == nil { unix_time := the_time.Unix()} 其他操作12the_time := time.Date(2014, 1, 7, 5, 50, 4, 0, time.Local)unix_time := the_time.Unix()
2019-10-02
golang 腾讯云 cos 上传文件 刷新 cdn
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990package mainimport ( "context" "fmt" "net/url" "os" "strings" cdn "github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cdn/v20180606" "github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common" "github.com/tencentcloud/tencentcloud-sdk-go/t...
2019-09-02
sublime 配置 python 环境
sublime安装和配置方法可以参考之前写的文章 安装以下插件可以构建简单的pyhon IDE环境 错误检测首先系统安装 1pip install flake8 然后安装插件 1SublimeLinter 代码提示1Anaconda 代码格式化此插件非常重要,python3极容易报警告,使用此插件后可以避免 1AutoPep8 测试代码12345678910111213141516171819202122232425import timedef fib(n): a, b = 0, 1 t = 0 while t < n: # print(a, end=' ') a, b = b, a+b t += 1 print()def fbn(n): if(n == 0 or n == 1): return n else: return fbn(n-2) + fbn(n-1)t1 = time.time()fib(100000)t2 = time.time...
2019-11-23
sublime 接口测试 代替 postman 等工具
主要是利用sublime的自带编译系统 新建json12345678910{ "mehtod": "GET", "url": "https://wx.iguojin.com/activity/astrazeneca/saveData", "query": { "name": "测试", "hospital": "一家医院", "phone": "13011111111" }} 为json建编译系统123456789{ "cmd": [ "php", "C:\\php\\bin\\phppost\\index.php", "$fi...
公告
This is my Blog