MCPcopy Create free account
hub / github.com/apache/fory / run

Function run

go/fory/codegen/generator.go:73–79  ·  view source on GitHub ↗
(opts *GeneratorOptions)

Source from the content-addressed store, hash-verified

71}
72
73func run(opts *GeneratorOptions) error {
74 // Determine mode: file-based or package-based
75 if opts.SourceFile != "" {
76 return runFileMode(opts)
77 }
78 return runPackageMode(opts)
79}
80
81func runFileMode(opts *GeneratorOptions) error {
82 // Load packages including the specific file

Callers 1

RunFunction · 0.70

Calls 2

runFileModeFunction · 0.85
runPackageModeFunction · 0.85

Tested by

no test coverage detected