在文档中,https://github.com/swaggo/swag使用gin来初始化服务器,但在我的应用程序中,我使用了http.ServeMux,以及如何在不使用gin服务器的情况下初始化swaggo跟我最初的想法一样,但行不通...rsrs func Server() *http.ServeMux {
docs.SwaggerInfo.Title = "Swagger Example API
cannot use mux (type *"github.com/grpc-ecosystem/grpc-gateway/runtime".ServeMux) as type *"github.com/grpc-ecosystem/grpc-gateway/v2/runtime".ServeMux ```