(o *Override)
| 63 | } |
| 64 | |
| 65 | func shimGoType(o *Override) *ShimGoType { |
| 66 | // Note that there is a slight mismatch between this and the |
| 67 | // proto api. The GoType on the override is the unparsed type, |
| 68 | // which could be a qualified path or an object, as per |
| 69 | // https://docs.sqlc.dev/en/v1.18.0/reference/config.html#type-overriding |
| 70 | return &ShimGoType{ |
| 71 | ImportPath: o.GoImportPath, |
| 72 | Package: o.GoPackage, |
| 73 | TypeName: o.GoTypeName, |
| 74 | BasicType: o.GoBasicType, |
| 75 | StructTags: o.GoStructTags, |
| 76 | } |
| 77 | } |