MCPcopy
hub / github.com/pquerna/ffjson / NewInceptionMain

Function NewInceptionMain

generator/inceptionmain.go:101–110  ·  view source on GitHub ↗
(goCmd string, inputPath string, outputPath string, resetFields bool)

Source from the content-addressed store, hash-verified

99}
100
101func NewInceptionMain(goCmd string, inputPath string, outputPath string, resetFields bool) *InceptionMain {
102 exposePath := getExposePath(inputPath)
103 return &InceptionMain{
104 goCmd: goCmd,
105 inputPath: inputPath,
106 outputPath: outputPath,
107 exposePath: exposePath,
108 resetFields: resetFields,
109 }
110}
111
112func getImportName(goCmd, inputPath string) (string, error) {
113 p, err := filepath.Abs(inputPath)

Callers 1

GenerateFilesFunction · 0.85

Calls 1

getExposePathFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…