Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Session保存自定义struct后读取出现 gob: name not registered for interface错误 #1110
referenced this issue
Apr 14, 2015
Anyone can show me how to use gob in main? I am confused.
The documentation only mention register the gob in init in main, but I really don't know what to register. I didn't struct to store the session.
Would be better if the documentation give more examples. It's been really hard for golang newbie like me to understand how does this beego work.