From 8f1ea50dfe0746711269c53052e5f99cb12d0d54 Mon Sep 17 00:00:00 2001 From: zhangwenjian Date: Fri, 28 Aug 2026 20:19:50 +0800 Subject: [PATCH] =?UTF-8?q?docs=F0=9F=93=9D:=20point=20the=20badges=20and?= =?UTF-8?q?=20documentation=20links=20at=20the=20right=20places?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The build badge rendered "build - failing" on both READMEs while CI was green. It referenced the workflow under the old personal repository path, where the status has been stale for years - so the first thing anyone saw on opening the project was a failed build. It now points at the current repository, names the workflow file explicitly, and pins the branch, so it reports master rather than whatever happens to be the default branch later. The workflow it reports on is go.yml, which is what the old badge referenced by workflow name and is the right one to show: build.yml also deploys the demo site, so a server-side problem there would turn the badge red while the code is fine. The licence badge read from mashape/apistatus, the example repository from shields.io's own documentation. It happened to show MIT, the same licence this project uses, so nobody noticed - but it reports someone else's licence. Documentation links were spread across three hosts: doc.go-admin.dev redirects to www.go-admin.pro, www.go-admin.dev serves byte-identical content, and only the Chinese README linked the canonical host at all. All of them now point at www.go-admin.pro directly rather than relying on a redirect outliving the domain that issues it. Two smaller ones: the gorm link pointed at the archived v1 repository while the project builds on gorm.io v2, and the English introduction listed two UI kits where the Chinese listed three, with an Ant Design demo linked directly below. --- README.Zh-cn.md | 12 ++++++------ README.md | 16 ++++++++-------- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/README.Zh-cn.md b/README.Zh-cn.md index c4cb45b5..3a59b36a 100644 --- a/README.Zh-cn.md +++ b/README.Zh-cn.md @@ -3,9 +3,9 @@ -[![Build Status](https://github.com/wenjianzhang/go-admin/workflows/build/badge.svg)](https://github.com/go-admin-team/go-admin) +[![Build Status](https://github.com/go-admin-team/go-admin/actions/workflows/go.yml/badge.svg?branch=master)](https://github.com/go-admin-team/go-admin) [![Release](https://img.shields.io/github/release/go-admin-team/go-admin.svg?style=flat-square)](https://github.com/go-admin-team/go-admin/releases) -[![License](https://img.shields.io/github/license/mashape/apistatus.svg)](https://github.com/go-admin-team/go-admin) +[![License](https://img.shields.io/github/license/go-admin-team/go-admin.svg)](https://github.com/go-admin-team/go-admin) [English](https://github.com/go-admin-team/go-admin/blob/master/README.md) | 简体中文 @@ -78,9 +78,9 @@ antd 体验(go-admin-pro):[https://antd.go-admin.pro](https://antd.go-admi ### 轻松实现go-admin写出第一个应用 - 文档教程 -[步骤一 - 基础内容介绍](https://doc.go-admin.dev/guide/intro/tutorial01.html) +[步骤一 - 基础内容介绍](https://www.go-admin.pro/guide/intro/tutorial01.html) -[步骤二 - 实际应用 - 编写增删改查](https://doc.go-admin.dev/guide/intro/tutorial02.html) +[步骤二 - 实际应用 - 编写增删改查](https://www.go-admin.pro/guide/intro/tutorial02.html) ### 手把手教你从入门到放弃 - 视频教程 @@ -173,7 +173,7 @@ D:\Code\go-admin>go build cgo: exec gcc: exec: "gcc": executable file not found in %PATH% ``` -[解决cgo问题进入](https://doc.go-admin.dev/zh-CN/guide/faq#cgo-%E7%9A%84%E9%97%AE%E9%A2%98) +[解决cgo问题进入](https://www.go-admin.pro/zh-CN/guide/faq#cgo-%E7%9A%84%E9%97%AE%E9%A2%98) #### 初始化数据库,以及服务启动 @@ -327,7 +327,7 @@ pnpm dev 4. [gin](https://github.com/gin-gonic/gin) 5. [casbin](https://github.com/casbin/casbin) 6. [spf13/viper](https://github.com/spf13/viper) -7. [gorm](https://github.com/jinzhu/gorm) +7. [gorm](https://github.com/go-gorm/gorm) 8. [gin-swagger](https://github.com/swaggo/gin-swagger) 9. [golang-jwt](https://github.com/golang-jwt/jwt) 10. [vue-element-admin](https://github.com/PanJiaChen/vue-element-admin) diff --git a/README.md b/README.md index c517d816..7f9a95e4 100644 --- a/README.md +++ b/README.md @@ -4,15 +4,15 @@ -[![Build Status](https://github.com/wenjianzhang/go-admin/workflows/build/badge.svg)](https://github.com/go-admin-team/go-admin) +[![Build Status](https://github.com/go-admin-team/go-admin/actions/workflows/go.yml/badge.svg?branch=master)](https://github.com/go-admin-team/go-admin) [![Release](https://img.shields.io/github/release/go-admin-team/go-admin.svg?style=flat-square)](https://github.com/go-admin-team/go-admin/releases) -[![License](https://img.shields.io/github/license/mashape/apistatus.svg)](https://github.com/go-admin-team/go-admin) +[![License](https://img.shields.io/github/license/go-admin-team/go-admin.svg)](https://github.com/go-admin-team/go-admin) English | [简体中文](https://github.com/go-admin-team/go-admin/blob/master/README.Zh-cn.md) -The front-end and back-end separation authority management system based on Gin + Vue + Element UI OR Arco Design is extremely simple to initialize the system. You only need to modify the database connection in the configuration file. The system supports multi-instruction operations. Migration instructions can make it easier to initialize database information. Service instructions It's easy to start the api service. +The front-end and back-end separation authority management system based on Gin + Vue + Element UI OR Arco Design OR Ant Design is extremely simple to initialize the system. You only need to modify the database connection in the configuration file. The system supports multi-instruction operations. Migration instructions can make it easier to initialize database information. Service instructions It's easy to start the api service. -[documentation](https://www.go-admin.dev) +[documentation](https://www.go-admin.pro) [Front-end project](https://github.com/go-admin-team/go-admin-ui) @@ -76,9 +76,9 @@ At the same time, a series of tutorials including videos and documents are provi ### Easily implement go-admin to write the first application-documentation tutorial -[Step 1 - basic content introduction](https://doc.go-admin.dev/guide/intro/tutorial01.html) +[Step 1 - basic content introduction](https://www.go-admin.pro/guide/intro/tutorial01.html) -[Step 2 - Practical application - writing database operations](https://doc.go-admin.dev/guide/intro/tutorial02.html) +[Step 2 - Practical application - writing database operations](https://www.go-admin.pro/guide/intro/tutorial02.html) ### Teach you from getting started to giving up-video tutorial @@ -171,7 +171,7 @@ D:\Code\go-admin>go build cgo: exec gcc: exec: "gcc": executable file not found in %PATH% ``` -[Solve the cgo problem and enter](https://doc.go-admin.dev/guide/faq#cgo-%E7%9A%84%E9%97%AE%E9%A2%98) +[Solve the cgo problem and enter](https://www.go-admin.pro/guide/faq#cgo-%E7%9A%84%E9%97%AE%E9%A2%98) ::: @@ -318,7 +318,7 @@ The `go-admin` project has always been developed in the GoLand integrated develo 2. [gin](https://github.com/gin-gonic/gin) 2. [casbin](https://github.com/casbin/casbin) 2. [spf13/viper](https://github.com/spf13/viper) -2. [gorm](https://github.com/jinzhu/gorm) +2. [gorm](https://github.com/go-gorm/gorm) 2. [gin-swagger](https://github.com/swaggo/gin-swagger) 2. [golang-jwt](https://github.com/golang-jwt/jwt) 2. [vue-element-admin](https://github.com/PanJiaChen/vue-element-admin)