Golang http requests post Multidimensional Array form-data

how to send multidimensional arrays to post requests in go.
form-data format

is like

in php.
form := make(map[string][]string)
form["name"] = []string{"lisa","danny"}
Jul.20,2021

Yes, you can do that.

but a Values type has been defined in the net/url library, which is actually map [string] [] string written by you. You can directly assign a [] string or you can traverse your [] string and use Values's Add method

.
v := make(url.Values)
values := []string{"one", "two"}

// 
v["test"] = values
// 
for _, value := range values {
    v.Add("test", value)
}
// 

  

suggest map [string] interface {}

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e492b8-44d08.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e492b8-44d08.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?