@ -23,8 +23,7 @@ var (
func Init() {
_, file, _, _ := runtime.Caller(1)
dir := path.Dir(file)
dirBase := path.Dir(dir)
dirBase := path.Dir(file)
baseDirLength = len(dirBase)
fmt.Printf("--\nDIR: %s\nBASE: %s\nLENGTH: %d\n--\n", file, dirBase, baseDirLength)
}
The note is not visible to the blocked user.