You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't think that you can have a such a field in a struct !
type Table Struct {
馃し string ,
...
}
I don't know what framework frontend technology your are using , but json/xml common unMarshalers won't parse your field correctly . I know this won't help.
But if it is a must , I suggest you to create custom go code to adapt the SQLC model structs => your response structs/json/xml/whatever_format .
Activity
1AbdulkarimMousa commentedon Jul 10, 2024
I don't think that you can have a such a field in a struct !
type Table Struct {
馃し string ,
...
}
I don't know what framework frontend technology your are using , but json/xml common unMarshalers won't parse your field correctly . I know this won't help.
But if it is a must , I suggest you to create custom go code to adapt the SQLC model structs => your response structs/json/xml/whatever_format .
josharian commentedon Jul 10, 2024
AS emojiin the query changes the name toEmoji.