From 9cf5b31d67fee84ff8fee25730716b4ae5edeae7 Mon Sep 17 00:00:00 2001 From: Ming Deng Date: Thu, 9 Mar 2023 15:06:38 +0800 Subject: [PATCH] fix the docsite URL (#5173) --- README.md | 7 ++++--- core/berror/codes.go | 1 + 2 files changed, 5 insertions(+), 3 deletions(-) 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, }