(tmpFolder, path, pkg, name string)
| 29 | } |
| 30 | |
| 31 | func GetIdentifier(tmpFolder, path, pkg, name string) string { |
| 32 | path = TrimTemporaryPath(tmpFolder, path, pkg) |
| 33 | if len(name) > 0 { |
| 34 | return fmt.Sprintf("%s.(%s)", path, name) |
| 35 | } |
| 36 | return path |
| 37 | } |
| 38 | |
| 39 | func IsGoFile(name string) bool { |
| 40 | return strings.HasSuffix(name, ".go") |