zprox_bkup_1/app/helpers/helpers.go
2024-08-24 16:12:40 +03:00

22 lines
338 B
Go

package helpers
import (
"fmt"
"strings"
"github.com/fatih/color"
"github.com/gookit/goutil/dump"
"golang.org/x/term"
)
func Lines(v ...any) {
w, _, _ := term.GetSize(0)
line := strings.Repeat(">", w-10)
color.HiYellow(line)
fmt.Println("")
for _, a := range v {
dump.Println(a)
}
fmt.Println("")
color.HiYellow(line)
}