From fd91ece433ad3a06f54f4db71ca87238a5eb6f98 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dani=C3=ABl=20van=20Eeden?= Date: Wed, 20 Nov 2024 10:44:40 +0100 Subject: [PATCH] Add 'go mod edit' line --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index f19fd913f..5337b3b94 100644 --- a/README.md +++ b/README.md @@ -503,6 +503,11 @@ To change the used package in your repo it's enough to add this `replace` direct replace github.com/siddontang/go-mysql => github.com/go-mysql-org/go-mysql v1.10.0 ``` +This can be done by running this command: +``` +go mod edit -replace=github.com/siddontang/go-mysql=github.com/go-mysql-org/go-mysql@v1.10.0 +``` + v1.10.0 - is the last tag in repo, feel free to choose what you want. ## Donate