package main

import "fmt"

type CategoryInfo struct {
    Value string
    Label string
    Children []CategoryInfo
}

func main() {
    fmt.Println("Hello, 世界")
    var ci []CategoryInfo
    ci = append(ci, CategoryInfo{
                Value:    "aaa",
                Label:    "bbb",
                Children: nil,
            })
            
    fmt.Println("end ci:", ci)
}

输出:

Hello, 世界
end ci: [{aaa bbb []}]

测试环境:

the go Playground