上一页 1 2 3 4 5 6 7 8 9 ··· 21 下一页

2019年9月24日

GitLab: You are not allowed to force push code to a protected branch on this project.

摘要: remote: GitLab: You are not allowed to force push code to a protected branch on this project. To ! [remote rejected] master -> master (pre-receive hoo 阅读全文

posted @ 2019-09-24 16:19 iokde.com 阅读(7701) 评论(0) 推荐(0) 编辑

2019年9月20日

go 多版本管理

摘要: go 版本切换 部分新项目用的go mod 管理版本 编译用的go1.13 ,但是编译之前的老项目使用go1.13报错,为了不折腾做个土办法切换go版本 /usr/local/ 目录下的go 指向不同版本 ,通过命令来切换; /etc/bashrc function go110(){ rm -rf 阅读全文

posted @ 2019-09-20 15:53 iokde.com 阅读(1272) 评论(0) 推荐(0) 编辑

2019年9月19日

glide install error

摘要: glide install 提示: Error scanning github.com/cpuguy83/go-md2man/v2/md2man: cannot find package "." in: /Users/xxxx/.glide/cache/src/https-github.com-cp 阅读全文

posted @ 2019-09-19 09:24 iokde.com 阅读(713) 评论(0) 推荐(0) 编辑

2019年9月18日

glide-ask-user-name-password git自动使用http克隆不是ssh

只有注册用户登录后才能阅读该文。 阅读全文

posted @ 2019-09-18 15:03 iokde.com 阅读(2) 评论(0) 推荐(0) 编辑

2019年9月11日

golang viper ReadRemoteConfig error

摘要: 读取 consul服务上的配置地址提示错误并自动退出 ,错误如下: 检查启动命令后配置的consul地址和实际路径不匹配 ,更新为正确路径后即可正常启动; 阅读全文

posted @ 2019-09-11 15:40 iokde.com 阅读(493) 评论(0) 推荐(0) 编辑

2019年9月5日

使用cat和EOF生成 shell 脚本时会自动解析变量的解决办法

摘要: 之前使用以下的用法,执行时会自动执行``里的语句,同时会把$变量变为空。 执行结果: 查到的解决办法: 注意第一个EOF要带引号。这种写法还支持使用>>追加文本。 参考: http://www.linuxyw.com/linux/wenjianguanli/20130427/132.html htt 阅读全文

posted @ 2019-09-05 17:51 iokde.com 阅读(1182) 评论(0) 推荐(0) 编辑

2019年9月2日

centos install ruby

摘要: ref: https://tecadmin.net/install-ruby-latest-stable-centos/ 阅读全文

posted @ 2019-09-02 15:19 iokde.com 阅读(88) 评论(0) 推荐(0) 编辑

2019年7月31日

golang 性能提升

摘要: easyjson encoding/json fasthttp net/hettp 字符串拼接对比 +号拼接 这种拼接最简单,也最容易被我们使用,因为它是不限编程语言的,比如Go语言有,Java也有,它们是+号运算符,在运行时计算的。现在演示下这种拼接的代码,虽然比较简单。 我们可以自己写个用例测试 阅读全文

posted @ 2019-07-31 09:07 iokde.com 阅读(601) 评论(0) 推荐(0) 编辑

2019年7月4日

查询车系特定口碑信息

摘要: 特定车系口碑信息(智能tag的文案) end 阅读全文

posted @ 2019-07-04 16:15 iokde.com 阅读(164) 评论(0) 推荐(0) 编辑

2019年7月1日

【转】Go如何基于动态链接库来实现动态加载

摘要: Go 插件系统 发表于 2018-04-18 | 更新于: 2018-04-24 | 分类于 开发语言 , Golang | 阅读次数: 312 通过使用插件在运行时扩展程序的功能, 而无需重新编译程序, 这是一个很常见的功能需求, 特别是在模块化设计的程序里面, 比如Nginx的模块系统。 在C/ 阅读全文

posted @ 2019-07-01 11:36 iokde.com 阅读(3053) 评论(0) 推荐(0) 编辑

上一页 1 2 3 4 5 6 7 8 9 ··· 21 下一页

导航