How do I make the key name Id lower case in the marshaled JSON output for this code?
    type Topic struct {
        Id string
    }
    topics := []Topic{
        {Id: "some identifier"},
        {Id: "some other identifier"},
    }
    tops, err := json.Marshal(topics)
    if err != nil {
        fmt.Println("got an error", err)
    }
    fmt.Println(string(tops))
Returns:
[
    {"Id":"some identifier"},
    {"Id":"some other identifier"}
]
But the API I'm using requires lower case, like:
[
    {"id":"some identifier"},
    {"id":"some other identifier"}
]
I am still pretty new to golang, so any direction is appreciated!