摘要: 关于解决docker拉取镜像失败的问题 error pulling image configuration: download failed after attempts=6: dial tcp 199.59.148.247:443: i/o timeout 由于镜像服务器访问的问题,导致拉取一直不 阅读全文
posted @ 2025-04-01 15:25 小依昂阳 阅读(310) 评论(0) 推荐(0)
摘要: ⭐️git学习笔记 git git的常用指令 ​ git init 初始化当前目录为一个git仓库 ​ git add 将工作区未暂存或未跟踪的文件提交到暂存区 ​ git commit 将暂存区的文件提交到仓库 ​ git status 查看修改文件的状态(暂存区与工作区中) ​ git add 阅读全文
posted @ 2025-04-01 15:23 小依昂阳 阅读(24) 评论(0) 推荐(0)
摘要: gorm框架连接数据库 go get 依赖 go get gorm.io/gorm go get gorm.io/driver/mysql 连接数据库,返回gorm连接对象 package core import ( "gorm.io/driver/mysql" "gorm.io/gorm" "go 阅读全文
posted @ 2025-04-01 15:22 小依昂阳 阅读(15) 评论(0) 推荐(0)
摘要: 关于解决使用gorm模糊匹配拼接like条件查找不成功的问题 初始的gorm查找 type Option struct { Key string Likes string Debug bool } option := Option{ Debug: false, } // 这个glbal.DB是我的全 阅读全文
posted @ 2025-04-01 15:21 小依昂阳 阅读(31) 评论(0) 推荐(0)
摘要: grpc搭建helloworld 先安装好protoc的转换工具 go install google.golang.org/protobuf/cmd/protoc-gen-go@v1.28 go install google.golang.org/grpc/cmd/protoc-gen-go-grp 阅读全文
posted @ 2025-04-01 15:20 小依昂阳 阅读(34) 评论(0) 推荐(0)
摘要: go-zero日志的优化 在你生成的 etc/xxx.yaml 文件下添加Log的配置 Name: auth Host: 0.0.0.0 Port: 8888 Log: ServiceName: auth Encoding: plain Stat: false TimeFormat: 2006-01 阅读全文
posted @ 2025-04-01 15:20 小依昂阳 阅读(25) 评论(0) 推荐(0)
摘要: Web服务器-UMLNode 应用服务器-UMLNode 数据库服务器-UMLNode Web服务器与应用服务器之间的连线 应用服务器与数据库服务器之间的连线 阅读全文
posted @ 2025-03-31 20:22 小依昂阳 阅读(13) 评论(0) 推荐(0)