QueryString returns query string for the args. The returned value is valid until the Args is reused or released (ReleaseArgs). Do not store references to the returned value. Make copies instead.
()
| 133 | // The returned value is valid until the Args is reused or released (ReleaseArgs). |
| 134 | // Do not store references to the returned value. Make copies instead. |
| 135 | func (a *Args) QueryString() []byte { |
| 136 | a.buf = a.AppendBytes(a.buf[:0]) |
| 137 | return a.buf |
| 138 | } |
| 139 | |
| 140 | // Sort sorts Args by key and then value using 'f' as comparison function. |
| 141 | // |