Last updated 4 years ago
// compression middleware app.Use(middleware.Compress())
// this is with config app.Use(middleware.CorsWithConfig(middleware.CorsConfig{ AllowOrigins: []string{"https://www.postgresqltutorial.com"}, }))