Home / Function/ Default() — gin Function Reference

Default() — gin Function Reference

Architecture documentation for the Default() function in gin.go from the gin codebase.

Entity Profile

Relationship Graph

Source Code

gin.go lines 236–241

func Default(opts ...OptionFunc) *Engine {
	debugPrintWARNINGDefault()
	engine := New()
	engine.Use(Logger(), Recovery())
	return engine.With(opts...)
}

Domain

Subdomains

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free