增加控制台数据输出控制

This commit is contained in:
2023-04-04 16:26:02 +08:00
parent b5add69124
commit 5114db00c6
3 changed files with 116 additions and 0 deletions

23
console_test.go Normal file
View File

@@ -0,0 +1,23 @@
// Package util ...
//
// Description : util ...
//
// Author : go_developer@163.com<白茶清欢>
//
// Date : 2023-04-04 16:21
package util
import "testing"
func Test_console_Output(t *testing.T) {
Console.Enable()
var a = map[string]interface{}{
"name": "baicha",
}
type U struct {
Name string
}
b := &U{Name: "qinghuan"}
c := U{Name: "test"}
Console.Output(a, b, c)
}