Append appends a new value onto an existing key inside the current FormData, or adds the key if it does not already exist.
(key string, value any)
| 22 | // Append appends a new value onto an existing key inside the current FormData, |
| 23 | // or adds the key if it does not already exist. |
| 24 | func (data FormData) Append(key string, value any) { |
| 25 | data[key] = append(data[key], value) |
| 26 | } |
| 27 | |
| 28 | // Set sets a new value for an existing key inside the current FormData, |
| 29 | // or adds the key/value if it does not already exist. |
no outgoing calls