This is a small library for echo v4 that has a generic repository for accessing the database and populating structures in golang and has a generic controller and service. You can create a custom repository or custom controller using Go compose.
Why do you think that https://github.com/hashicorp/go-dbw is a good alternative to go-struct2serve