摘要: 一,安装fresh库 $ go get github.com/pilu/fresh 二,遇到问题: 执行fresh时报错: $ fresh fresh:未找到命令 解决: $ go install github.com/pilu/fresh@latest 再次执行: $ go get github. 阅读全文
posted @ 2025-01-18 16:51 刘宏缔的架构森林 阅读(343) 评论(0) 推荐(0)
摘要: 一,官网: 官方文档: https://pkg.go.dev/github.com/go-playground/validator/v10 代码地址: https://github.com/go-playground/validator 二、常用标记说明 标记 标记说明 例 required 必填 阅读全文
posted @ 2025-01-18 16:51 刘宏缔的架构森林 阅读(304) 评论(0) 推荐(0)