app.Add("/", new(Struct)) 这种写法怎么理解

tablecell · 2021-08-02 08:46:07 · 2705 次点击

你看看标准库 里的 net/rpc 的 rpc.Register()

#2
更多评论

这种一般会自动映射结构体的方法

#1