MCPcopy Index your code
hub / github.com/coder/guts / IncludeCustomDeclaration

Method IncludeCustomDeclaration

convert.go:93–97  ·  view source on GitHub ↗

IncludeCustomDeclaration is an advanced form of IncludeCustom.

(mappings map[string]TypeOverride)

Source from the content-addressed store, hash-verified

91
92// IncludeCustomDeclaration is an advanced form of IncludeCustom.
93func (p *GoParser) IncludeCustomDeclaration(mappings map[string]TypeOverride) {
94 for k, v := range mappings {
95 p.typeOverrides[k] = v
96 }
97}
98
99type GolangType = string
100

Callers 5

loadTypescriptFunction · 0.80
ExampleNewGolangParserFunction · 0.80
TestGenerationFunction · 0.80
TestNotNullMapsFunction · 0.80
mainFunction · 0.80

Calls

no outgoing calls

Tested by 4

loadTypescriptFunction · 0.64
ExampleNewGolangParserFunction · 0.64
TestGenerationFunction · 0.64
TestNotNullMapsFunction · 0.64