MCPcopy Index your code
hub / github.com/sqlc-dev/sqlc / HandleFunc

Function HandleFunc

internal/ext/handler.go:50–52  ·  view source on GitHub ↗
(fn func(context.Context, *plugin.GenerateRequest) (*plugin.GenerateResponse, error))

Source from the content-addressed store, hash-verified

48}
49
50func HandleFunc(fn func(context.Context, *plugin.GenerateRequest) (*plugin.GenerateResponse, error)) Handler {
51 return &wrapper{fn}
52}

Callers 1

codegenFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected