随笔分类 -  Golang

相关内容记录
摘要:构建好的镜像能跑起来, 项目地址: https://github.com/szliugx/gitlab-ci-local 为了不每次提交,本地可以做一些模拟 gitlab ci 的测试≈,主要实现方式是 启动 docker 容器中做编译打包环境,挂在项目目录的形式 阅读全文
posted @ 2020-03-28 01:36 liugx 阅读(559) 评论(0) 推荐(0)
摘要:错误提示: Get https://res.ddkt365.com/ddktRes/imageRes/wx_headimg/0f1d9e55913c22bcaf7cca9b38048d29.jpeg: x509: certificate signed by unknown authority -> 阅读全文
posted @ 2020-03-26 22:44 liugx 阅读(1289) 评论(0) 推荐(0)
摘要:用官方的教程代码:http://thrift.apache.org/tutorial/go 用网友提供的代码:Golang RPC 之 Thrift 都出现如下情况 状况1: 编辑器中就会提醒 Cannot use 'processor' (type *FormatDataProcessor) as 阅读全文
posted @ 2017-10-10 14:41 liugx 阅读(2861) 评论(2) 推荐(0)
摘要:Golang 支持交叉编译,在一个windows平台可以生成linux或Mac系统下的可执行文件。 Mac 下编译 Linux 和 Windows 64位可执行程序 Linux 下编译 Mac 和 Windows 64位可执行程序 Windows 下编译 Mac 和 Linux 64位可执行程序 G 阅读全文
posted @ 2017-04-15 15:37 liugx 阅读(233) 评论(0) 推荐(0)
摘要:本机的一个节点及监控与管理后台 虚拟机中的一个节点 命令: [root@vm-vagrant nsq]# nsqd --lookupd-tcp-address=192.168.23.150:4160 -tcp-address="192.168.1.10:4152" -http-address="19 阅读全文
posted @ 2017-03-21 20:47 liugx 阅读(2046) 评论(0) 推荐(0)
摘要:golang的beego框架开发时出现的问题纪录1.数据库并发时问题:[ORM]2017/02/20 23:44:05 -[Queries/default] - [FAIL / db.Query / 15.9ms] - [SELECT mp_wx_account.app_id, mp_wx_acco 阅读全文
posted @ 2017-02-21 23:36 liugx 阅读(1738) 评论(0) 推荐(0)