Skip to content

Latest commit

 

History

History
 
 

gin

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Logrus formatter for Oops

import oopsrecoverygin "github.com/samber/oops/recovery/gin"

func main() {
	router = gin.New()
	router.Use(gin.Logger())
	router.Use(oopsrecoverygin.GinOopsRecovery())

    // ...
}