From 3bfe3c1fe48f4de137023af90a3ccfcd1e2ee6ec Mon Sep 17 00:00:00 2001 From: Aisuko Date: Sun, 22 Oct 2023 05:38:55 +0000 Subject: [PATCH] Add make tidy Signed-off-by: GitHub --- CONTRIBUTING.md | 12 ++++++++++++ Makefile | 4 ++++ README.md | 17 +++-------------- 3 files changed, 19 insertions(+), 14 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 851f4ad4..00417cc3 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -91,6 +91,18 @@ All contributors are invited to review pull requests. See this short video on [h # New to Git? Resources: https://lab.github.com and https://try.github.com/ + +# FQA + +### Instructions for making custom dictionary entries + +Enter new key:value pairs into the `useDictionary()` map in https://github.com/meshery/meshkit/blob/master/utils/utils.go + +- Key: string to match +- Value: string to display + +The custom dictionary entries are case insensitive. + ### License This repository and site are available as open source under the terms of the [Apache 2.0 License](https://opensource.org/licenses/Apache-2.0). diff --git a/Makefile b/Makefile index 307698d4..dc696b84 100644 --- a/Makefile +++ b/Makefile @@ -7,6 +7,10 @@ check: test: go test --short ./... -race -coverprofile=coverage.txt -covermode=atomic +tidy: + go mod tidy + git diff --exit-code go.mod go.sum + errorutil: go run github.com/layer5io/meshkit/cmd/errorutil -d . update --skip-dirs meshery -i ./helpers -o ./helpers diff --git a/README.md b/README.md index 9eb81bdf..a01e97a4 100644 --- a/README.md +++ b/README.md @@ -1,20 +1,9 @@ # MeshKit for Meshery and it's ecosystem A toolkit for Meshery's microservices and various individual architectural components to reuse and share common functionality. Learn more: [Introducing MeshKit and the Meshery Adapter Library](https://layer5.io/blog/meshery/introducing-meshkit-and-the-meshery-adapter-library) -![](https://github.com/meshery/meshkit/actions/workflows/ci.yml/badge.svg) -![](https://github.com/meshery/meshkit/actions/workflows/release-drafter.yml/badge.svg) -![](https://github.com/meshery/meshkit/actions/workflows/error-codes-updater.yaml/badge.svg) - - -### Instructions for making custom dictionary entries - -Enter new key:value pairs into the `useDictionary()` map in https://github.com/meshery/meshkit/blob/master/utils/utils.go - -- Key: string to match -- Value: string to display - -The custom dictionary entries are case insensitive. - +[![](https://github.com/meshery/meshkit/actions/workflows/ci.yml/badge.svg)](https://github.com/meshery/meshkit/actions/workflows/ci.yml) +[![](https://github.com/meshery/meshkit/actions/workflows/release-drafter.yml/badge.svg)](https://github.com/meshery/meshkit/actions/workflows/release-drafter.yml) +[![](https://github.com/meshery/meshkit/actions/workflows/error-codes-updater.yaml/badge.svg)](https://github.com/meshery/meshkit/actions/workflows/error-codes-updater.yaml)