Skip to content

Commit 8df32e1

Browse files
f1forhelputkarshaajtakkyleconroy
authored
Changed documentation for json datatype. (#1997)
* Changed documentation for json datatype. * Update datatypes.md --------- Co-authored-by: utkarshaajtak <104076186+utkarshaajtak@users.noreply.github.com> Co-authored-by: Kyle Conroy <kyle@conroy.org>
1 parent d38db00 commit 8df32e1

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

docs/reference/datatypes.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,11 @@ CREATE TABLE books (
172172
"overrides": [
173173
{
174174
"column": "books.data",
175-
"go_type": "*example.com/db/dto.BookData"
175+
"go_type": {
176+
"import":"example/db",
177+
"package": "dto",
178+
"type":"BookData"
179+
}
176180
}
177181
]
178182
}

0 commit comments

Comments
 (0)