Rendering problem of pongo2 template for golang

type UserInfo struct {
    UserId              int    `json:"user_id"`
    Nickname            string `json:"nickname"`
}

func (data UserInfo) A() int{
    return 1
}
func (data *UserInfo) B() int{
    return 2
}

...

c.HTML(http.StatusOK, "test.html", pongo2.Context{
        "user_info": userinfo,
        "user_infos": &userinfo,
    })
<div>{{user_info.A()}}</div>  //1
<div>{{user_info.B()}}</div> //
<div>{{user_infos.A()}}</div>  //1
<div>{{user_infos.B()}}</div> //2

Why is user_info.B () empty?

Sep.23,2021
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1c2532e-33762.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1c2532e-33762.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?