From 392731e0a1babfbb7d6deb97b9bbcc6a5d6b8029 Mon Sep 17 00:00:00 2001 From: CHEN Feng Date: Mon, 1 Aug 2022 23:23:42 +0800 Subject: [PATCH] doc: Add badges (#25) * Update README.md * Update README_zh.md --- README.md | 9 ++++++++- README_zh.md | 5 ++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index b1e813a..14d04f3 100644 --- a/README.md +++ b/README.md @@ -4,9 +4,16 @@ This library contains generic containers and algorithms, it is designed to be ST 点击这里查看[中文文档](README_zh.md)。 +[![License Apache 2.0](https://img.shields.io/badge/License-Apache_2.0-red.svg)](COPYING) +[![Python](https://img.shields.io/badge/Language-go1.18+-blue.svg)](https://www.python.org/) ![Build Status](https://github.com/chen3feng/stl4go/actions/workflows/go.yml/badge.svg) -[![codebeat badge](https://codebeat.co/badges/f8424c61-c382-4baf-8b9e-84520866d0a5)](https://codebeat.co/projects/github-com-chen3feng-stl4go-master) [![Coverage Status](https://coveralls.io/repos/github/chen3feng/stl4go/badge.svg?branch=master)](https://coveralls.io/github/chen3feng/stl4go?branch=master) +[![GoReport](https://goreportcard.com/badge/github.com/securego/gosec)](https://goreportcard.com/report/github.com/chen3feng/stl4go) + + This library depends on go generics, which is introduced in 1.18+. diff --git a/README_zh.md b/README_zh.md index f809f56..192b932 100644 --- a/README_zh.md +++ b/README_zh.md @@ -2,9 +2,12 @@ 本库包含 Go 语言实现的范型容器和算法库,就像 C++ 中的 STL。 +[![License Apache 2.0](https://img.shields.io/badge/License-Apache_2.0-red.svg)](COPYING) +[![Python](https://img.shields.io/badge/Language-go1.18+-blue.svg)](https://www.python.org/) ![Build Status](https://github.com/chen3feng/stl4go/actions/workflows/go.yml/badge.svg) -[![codebeat badge](https://codebeat.co/badges/f8424c61-c382-4baf-8b9e-84520866d0a5)](https://codebeat.co/projects/github-com-chen3feng-stl4go-master) [![Coverage Status](https://coveralls.io/repos/github/chen3feng/stl4go/badge.svg?branch=master)](https://coveralls.io/github/chen3feng/stl4go?branch=master) +[![GoReport](https://goreportcard.com/badge/github.com/securego/gosec)](https://goreportcard.com/report/github.com/chen3feng/stl4go) +