Background Suppose I want to store and read a JSONB/JSON column from Postgres, how do I do it? Solution Make the data type implements these functions: Scan(src any) error -> Move data from DB to Go struct Value() -> Return the JSON encoding that sto...
Markdown supported · ⌘↵ to post
No responses yet.