Remove more ersteller-lib refrences
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
|
||||
@@ -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
|
||||
)
|
||||
|
||||
@@ -1,6 +0,0 @@
|
||||
go 1.25.0
|
||||
|
||||
use (
|
||||
.
|
||||
../ersteller-lib
|
||||
)
|
||||
@@ -1,8 +1,8 @@
|
||||
package page
|
||||
|
||||
import (
|
||||
. "ersteller-lib"
|
||||
"fmt"
|
||||
. "git.gorlug.de/code/ersteller"
|
||||
"time"
|
||||
|
||||
. "maragu.dev/gomponents"
|
||||
|
||||
Reference in New Issue
Block a user