(goCmd string, inputPath string, outputPath string, resetFields bool)
| 99 | } |
| 100 | |
| 101 | func 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 | |
| 112 | func getImportName(goCmd, inputPath string) (string, error) { |
| 113 | p, err := filepath.Abs(inputPath) |
no test coverage detected
searching dependent graphs…