changing base back to same name as dir

This commit is contained in:
херетик
2023-01-29 11:43:57 +00:00
parent f5f17427a2
commit 907e50a6e0
3 changed files with 4 additions and 3 deletions

View File

@@ -33,6 +33,7 @@ var (
Major, Minor, Patch int
PathBase string
)
var (
log = log2.GetLogger(indra.PathBase)
check = log.E.Chk
@@ -179,7 +180,7 @@ func main() {
var dir string
if dir, e = os.Getwd(); check(e) {
}
name := filepath.Base(dir) + "base"
name := filepath.Base(dir)
versionFile := `package ` + name + `
import (

View File

@@ -20,7 +20,7 @@ import (
)
var (
log = log2.GetLogger(indra.PathBase)
log = log2.GetLogger(indrabase.PathBase)
check = log.E.Chk
)

View File

@@ -1,4 +1,4 @@
package indrabase
package indra
import (
"fmt"