Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/sqlc-dev/sqlc
/ DefineType
Method
DefineType
internal/codegen/golang/query.go:96–102 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
94
}
95
96
func
(v *QueryValue) DefineType() string {
97
t := v.Type()
98
if
v.IsPointer() {
99
return
"*"
+ t
100
}
101
return
t
102
}
103
104
func
(v *QueryValue) ReturnName() string {
105
if
v.IsPointer() {
Callers
2
Pairs
Method · 0.95
SlicePair
Method · 0.95
Calls
2
Type
Method · 0.95
IsPointer
Method · 0.95
Tested by
no test coverage detected