note to self: seems that in Go 1.22 reflection package gives different names for package level function variables. Previously these resulted as github.com/labstack/echo/v4.glob..func1 but in 1.22 you get github.com/labstack/echo/v4.init.func1. I have changed problematic test to pass in newer/older versions.
Go 1.22 is released. See https://go.dev/doc/go1.22
note to self: seems that in Go 1.22 reflection package gives different names for package level function variables. Previously these resulted as
github.com/labstack/echo/v4.glob..func1
but in 1.22 you getgithub.com/labstack/echo/v4.init.func1
. I have changed problematic test to pass in newer/older versions.