上一页 1 2 3 4 5 6 ··· 21 下一页
该文被密码保护。 阅读全文
posted @ 2024-06-06 03:22 酒沉吟 阅读(0) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2024-06-04 19:05 酒沉吟 阅读(0) 评论(0) 推荐(0) 编辑
摘要: golang 使用 zap logger 加入Lumberjack 写日志 Cd 进入项目目录 go get gopkg.in/natefinch/lumberjack.v2 go install gopkg.in/natefinch/lumberjack.v2 go get go.uber.org 阅读全文
posted @ 2024-06-04 18:59 酒沉吟 阅读(23) 评论(0) 推荐(0) 编辑
摘要: 生成文件 执行 protoc --go_out=. --go_opt=paths=source_relative --go-grpc_out=. --go-grpc_opt=paths=source_relative service.proto 报下列错处理方法 1.'protoc-gen-go' 阅读全文
posted @ 2024-05-30 23:08 酒沉吟 阅读(102) 评论(0) 推荐(0) 编辑
摘要: golang 结构体 json 的时间 序列化与反序列化 格式化解决方案 // 最近开发项目时候发现一个结构体的 Json 转换的时间格式问题。 // 即这种 1993-01-01T20:08:23.000000028+08:00 这种表示 UTC 方法。 // 从我们习惯来说,更喜欢希望的是 19 阅读全文
posted @ 2024-05-25 18:35 酒沉吟 阅读(72) 评论(0) 推荐(0) 编辑
摘要: https://www.jb51.net/article/256123.htm go env -w GO111MODULE=on go env -w GOPROXY=https://proxy.golang.com.cn,direct 项目初始化 go mod init 项目名称 编译 go bui 阅读全文
posted @ 2024-05-20 21:59 酒沉吟 阅读(161) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2023-11-21 11:21 酒沉吟 阅读(0) 评论(0) 推荐(0) 编辑
摘要: 备份Gitlab cd /etc/gitlab/ vi gitlab.rb gitlab_rails['manage_backup_path'] = true gitlab_rails['backup_path'] = "/var/opt/gitlab/backups" #gitlab_rails[ 阅读全文
posted @ 2022-10-27 10:40 酒沉吟 阅读(110) 评论(0) 推荐(0) 编辑
摘要: 安装Getlab https://www.cnblogs.com/wenwei-blog/p/5861450.html 安装以这个为准 https://blog.csdn.net/weixin_38489509/article/details/126034654 替换默认22端口 https://w 阅读全文
posted @ 2022-06-23 09:53 酒沉吟 阅读(14) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2022-05-30 10:20 酒沉吟 阅读(0) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 21 下一页