[BUG] Compilation fails due to a breaking change introduced in `github.com/kataras/golog`
Describe the bug
Compilation fails due to a breaking change introduced in github.com/kataras/golog version v0.1.15. The error occurs in the handler_debug.go file of the Iris framework when attempting to use debugLevel.Style as an argument to pio.WriteRich.
To Reproduce Steps to reproduce the behavior:
- Use
github.com/kataras/gologversionv0.1.15in your project. - Attempt to compile a project using
github.com/kataras/iris/[email protected]. - Observe the compilation error.
Expected behavior
The project should compile successfully without type mismatch errors between printer.RichOption and pio.RichOption.
Screenshots Not applicable.
Desktop (please complete the following information):
- OS: [e.g. Windows 10, Ubuntu 22.04]
iris.Version
- v12.2.11
Hello @shaderkill, thanks for opening this issue. Yes, new golog version contains a breaking change but Iris does not uses the v0.1.15, it uses the v0.1.12 which doesn't break things, please verify it at go.mod, maybe you need to re-download Iris?