Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for NewURLValues (0.05 sec)

  1. internal/grid/types.go

    type URLValues map[string][]string
    
    var urlValuesPool = sync.Pool{
    	New: func() interface{} {
    		return make(map[string][]string, 10)
    	},
    }
    
    // NewURLValues returns a new URLValues.
    func NewURLValues() *URLValues {
    	u := URLValues(urlValuesPool.Get().(map[string][]string))
    	return &u
    }
    
    // NewURLValuesWith returns a new URLValues with the provided content.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 15.5K bytes
    - Viewed (0)
Back to top