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

Method IncludeGenerateWithPrefix

convert.go:146–148  ·  view source on GitHub ↗

IncludeGenerateWithPrefix will include a prefix to all output generated types.

(directory string, prefix string)

Source from the content-addressed store, hash-verified

144
145// IncludeGenerateWithPrefix will include a prefix to all output generated types.
146func (p *GoParser) IncludeGenerateWithPrefix(directory string, prefix string) error {
147 return p.include(directory, prefix, false)
148}
149
150// IncludeReference only generates types if they are referenced from the generated packages.
151// This is useful for only generating a subset of the types that are being used.

Callers

nothing calls this directly

Calls 1

includeMethod · 0.95

Tested by

no test coverage detected