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

Method ExcludeCustom

convert.go:132–137  ·  view source on GitHub ↗

ExcludeCustom flags golang types to not be generated in the Typescript output.

(fqnames ...string)

Source from the content-addressed store, hash-verified

130
131// ExcludeCustom flags golang types to not be generated in the Typescript output.
132func (p *GoParser) ExcludeCustom(fqnames ...string) error {
133 for _, fqname := range fqnames {
134 p.Skips[fqname] = struct{}{}
135 }
136 return nil
137}
138
139// IncludeGenerate parses a directory and adds the parsed package to the list of packages.
140// These package's types will be generated.

Callers 2

TestGenerationFunction · 0.80
mainFunction · 0.80

Calls

no outgoing calls

Tested by 1

TestGenerationFunction · 0.64