Answers for "add values form one map to another in golang"

Go
0

appending map into map golang

for _, note := range notes {
        thisNote := map[string]string{
            "Title":note.Title,
            "Body":note.Body,
        }

        content["notes"] = append(content["notes"], thisNote)
}
Posted by: Guest on November-01-2020

Browse Popular Code Answers by Language