GetCompiledBinaryFileAbsPath 根据配置文件将对应预编译文件转换成绝对路径
(typeName, moduleName, configDir string)
| 50 | |
| 51 | // GetCompiledBinaryFileAbsPath 根据配置文件将对应预编译文件转换成绝对路径 |
| 52 | func GetCompiledBinaryFileAbsPath(typeName, moduleName, configDir string) (string, error) { |
| 53 | targetName := GetCompiledBinaryFileName(typeName, moduleName) |
| 54 | return filepath.Abs(path.Join(path.Join(configDir, "bin"), targetName)) |
| 55 | } |
| 56 | |
| 57 | // ParseGeneratorScript 解析generator脚本 |
| 58 | func ParseGeneratorScript(script string) (string, []string, error) { |
no test coverage detected