We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1cc95e9 commit ffd3968Copy full SHA for ffd3968
src/server/templates/go.ts
@@ -162,6 +162,20 @@ const GO_TYPE_MAP: Record<string, string> = {
162
json: 'interface{}',
163
jsonb: 'interface{}',
164
165
+ // Range
166
+ int4range: 'string',
167
+ int4multirange: 'string',
168
+ int8range: 'string',
169
+ int8multirange: 'string',
170
+ numrange: 'string',
171
+ nummultirange: 'string',
172
+ tsrange: 'string',
173
+ tsmultirange: 'string',
174
+ tstzrange: 'string',
175
+ tstzmultirange: 'string',
176
+ daterange: 'string',
177
+ datemultirange: 'string',
178
+
179
// Misc
180
void: 'interface{}',
181
record: 'map[string]interface{}',
0 commit comments