eagle
eagle copied to clipboard
🦅 A Go framework for the API or Microservice
当执行make build时候出现错误 `internal/routers/router.go:13:2: no required module provides package github.com/go-eagle/eagle/docs; to add it:`
你好,我看之前的代码提交记录,在最初 log.Logger 是支持 Debug 级别的日志记录的,后来在 [chore: optimize log](https://github.com/go-eagle/eagle/commit/96a3b88ed6ee58a9a3d8a34b84e737b7a995bb95) 这次提交中去掉了 Debug 级别的支持。 我理解 Debug 级别的日志和 Info 级别的日志差别还是比较大的。在实践经验中,通常是开发和测试环境中开启 Debug 级别的日志,生产环境中开启 Info 日志,缺少 Debug 级别的日志会对测试环境排查问题有比较大的影响。 想了解下咱们是出于什么原因选择了这样的设计,以及后续是否有计划重新增加对 Debug 级别日志的支持呢?
看到无论是shell脚本还是docker部署时, 实际上cron以及consumer都没有启动; 另外, 使用`eagle new xxx`安装脚手架后, config文件夹下应该像这个repo里分为docker和local的配置文件, 而不是把local配置文件直接放到config文件夹下;
 在哪里配置啊。config.local,yaml 这个配置没用

2021/10/29 07:22:55 ParseConfig: 1 error(s) decoding: * cannot parse 'MySQL.ConnMaxLifeTime' as int: strconv.ParseInt: parsing "60m": invalid syntax
问题:在orm.go 文件中,如何优雅的配置,连接多数据库,读写分离,求解 场景:在生产环境,会出现读写分离,多数据库场景 1、db_user库下user表 2、db_order库下order表 请教一下,希望得到解答
**Describe the bug** A clear and concise description of what the bug is. 这个包不能用,本身有问题。你测试下看看,运行不起来。 --- FAIL: TestHttp (0.00s) panic: runtime error: invalid memory address or nil pointer dereference [recovered] panic:...
**Is your feature request related to a problem? Please describe.** A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] **Describe the solution you'd...
这个是不是有违封装性,sql 代码是不是要放到 dao 层去