Files
bl/common/serialize/log/log_test.go
昔念 8fb792b0f2 build: 更新依赖并添加新库
- 更新 go.mod 和 go.sum 文件,添加多个新库
- 在 LoginSidInfo 结构体中添加注释说明
- 在 cmd.go 中添加 TODO 注释
2025-07-02 22:18:29 +08:00

20 lines
290 B
Go

package log
import (
"fmt"
"testing"
"github.com/apcera/termtables"
)
func TestInit(t *testing.T) {
table := termtables.CreateTable()
table.AddHeaders("Name", "Age")
table.AddRow("John", "30")
table.AddRow("Sam", 18)
table.AddRow("Julie", 20.14)
fmt.Println(table.Render())
}