You have RESTful API. You have your struct, it use JSON tag. Then, one of your developer friend introduce you to GraphQL.
If you want to migrate your API to GraphQL without so much pain, this library is for you.
import "github.com/ariefrahmansyah/bindgraphql" graphObj, err := bind.NewObject("YourObj", yourObj)