go 打印结构体指针数组
摘要:
序列化后输出。 package main import ( "encoding/json" "fmt" ) type Student struct { Age int Name string } func printStructPointerSlice(data interface{}) strin 阅读全文
posted @ 2024-12-30 09:25 王景迁 阅读(25) 评论(0) 推荐(0)
posted @ 2024-12-30 09:25 王景迁 阅读(25) 评论(0) 推荐(0)