导入依赖
import (
"encoding/json"
"fmt"
)
定义结构体
type Human struct {
Name string
Age int
Sex bool
Hob
导入依赖
import (
"encoding/json"
"fmt"
)
定义结构体
type Human struct {
Name string
Age int
Sex bool
Hob