Menu

#Structs

1 post

Feed
1 of 1 post
0Read More

Should I use structs with URL-encoded form requests?

Reddit r/golang·u/161ForAChange·6 months ago
#qLlN1LAI
#structs#form#struct#create#photo

I am currently working on an API client for Splunk which takes x-www-form-urlencoded data. I like having the request data as structs, because it feels cleaner and can then be easily marshaled to JSON.…

15s