func New(config Config) gin.HandlerFunc {
	location := newLocation(config)

	return func(c *gin.Context) {
		location.applyToContext(c)
	}
}
func New(config Config) gin.HandlerFunc {
	location := newLocation(config)

	return func(c *gin.Context) {
		location.applyToContext(c)
	}
}
func New ( config Config ) gin . HandlerFunc { location := newLocation ( config ) return func ( c * gin . Context ) { location . applyToContext ( c ) } }
// New returns the location middleware with user-defined custom configuration.
New returns the location middleware with user - defined custom configuration .