diff --git a/README.md b/README.md index 90435a33..1d22455b 100644 --- a/README.md +++ b/README.md @@ -17,11 +17,12 @@ Beego is composed of four parts: ## Quick Start -[Doc](https://github.com/beego/beedoc) -[中文新版文档网站](https://beego.gocn.vip) - +[Old Doc - github](https://github.com/beego/beedoc) +[New Doc Website](https://beego.gocn.vip) [Example](https://github.com/beego/beego-example) +> Kindly remind that sometimes the HTTPS certificate is expired, you may get some NOT SECURE warning + ### Web Application ![Http Request](https://cdn.nlark.com/yuque/0/2020/png/755700/1607857462507-855ec543-7ce3-402d-a0cb-b2524d5a4b60.png) diff --git a/core/berror/codes.go b/core/berror/codes.go index b6712a84..bee8bb19 100644 --- a/core/berror/codes.go +++ b/core/berror/codes.go @@ -37,6 +37,7 @@ var defaultCodeRegistry = &codeRegistry{ func DefineCode(code uint32, module string, name string, desc string) Code { res := &codeDefinition{ code: code, + name: name, module: module, desc: desc, }