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-03-04
golang 导入包
点操作有时候会看到如下的方式导入包 1import( . "fmt" ) 这个点操作的含义就是这个包导入之后在你调用这个包的函数时,你可以省略前缀的包名,也就是前面你调用的fmt.Println(“hello world”) 可以省略的写成Println(“hello world”) 别名操作12import( f "fmt" )f.Println("hello world") _操作说明只是为了执行包中的init函数
2016-04-03
sublime 使用方法
安装Package Controlhttps://packagecontrol.io/installation 123456789import urllib.request,os,hashlib; h = '2915d1851351e5ee549c20394736b442' + '8bc59f460fa1548d1514676163dafc88'; pf = 'Package Control.sublime-package'; ipp = sublime.installed_packages_path(); urllib.request.install_opener(urllib.request.build_opener( urllib.request.ProxyHandler())); by = urllib.request.urlopen('http://packagecontrol.io/' + pf.replace(' ', '%20')).read()...
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-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...
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()
公告
This is my Blog