NormalizePackageName normalizes the name of the directory where the source files will be imported from Assumes input is the normalized project name.
(n string)
| 50 | // |
| 51 | // Assumes input is the normalized project name. |
| 52 | func NormalizePackageName(n string) string { |
| 53 | return strings.ReplaceAll(n, "-", "_") |
| 54 | } |
| 55 | |
| 56 | // NormalizeObjectName normalizes the name of the class that is the main |
| 57 | // Dagger object of the module |
no outgoing calls