fix pointer bug, mockdata have been overwritten by go test everytime,

now use a const struct via func.
This commit is contained in:
2022-10-18 19:45:09 +02:00
parent 4481f59eda
commit 5d10875a3f
2 changed files with 75 additions and 84 deletions

View File

@@ -19,7 +19,6 @@ package lib
import (
"github.com/gookit/color"
//"github.com/xo/terminfo"
)
var (