Set sets a new value for an existing key inside the current FormData, or adds the key/value if it does not already exist.
(key string, value any)
| 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. |
| 30 | func (data FormData) Set(key string, value any) { |
| 31 | data[key] = []any{value} |
| 32 | } |
| 33 | |
| 34 | // Delete deletes a key and its value(s) from the current FormData. |
| 35 | func (data FormData) Delete(key string) { |
no outgoing calls