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)
}
+1 -1
View File
@@ -4,7 +4,7 @@ go 1.25.1
require (
entgo.io/ent v0.14.5
ersteller-lib v0.0.0
git.gorlug.de/code/ersteller v0.0.0
github.com/joho/godotenv v1.5.1
maragu.dev/gomponents v1.2.0
)
-6
View File
@@ -1,6 +0,0 @@
go 1.25.0
use (
.
../ersteller-lib
)
+1 -1
View File
@@ -1,8 +1,8 @@
package page
import (
. "ersteller-lib"
"fmt"
. "git.gorlug.de/code/ersteller"
"time"
. "maragu.dev/gomponents"