Remove more ersteller-lib refrences

This commit is contained in:
Achim Rohn
2025-11-15 13:50:38 +01:00
parent f29c1151b7
commit 0b0c2473d8
4 changed files with 3 additions and 10 deletions
+1 -2
View File
@@ -84,7 +84,6 @@ func (s StarterCreator) Create() {
must(os.WriteFile(targetPath, content, 0o644))
log.Printf("StarterCreator.Create: wrote starter main.go to %s", targetPath)
s.copyFile("../go.work.template", "go.work")
s.copyFile("../../template.air.toml", ".air.toml")
//s.copyGoMod()
//s.executeGoModTidy()
@@ -216,7 +215,7 @@ func (s StarterCreator) getGoCommand() string {
func (s StarterCreator) replaceImports(content []byte) []byte {
contentString := string(content)
contentString = strings.ReplaceAll(contentString, "\"ersteller-lib/starter/", fmt.Sprint("\"", s.params.ModuleName, "/"))
contentString = strings.ReplaceAll(contentString, "\"git.gorlug.de/code/ersteller/starter/", fmt.Sprint("\"", s.params.ModuleName, "/"))
return []byte(contentString)
}