24 lines
386 B
Go
24 lines
386 B
Go
// 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)
|
|
}
|