Skip to content

Commit

Permalink
Add 'go mod edit' line
Browse files Browse the repository at this point in the history
  • Loading branch information
dveeden committed Nov 20, 2024
1 parent 93870c2 commit fd91ece
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
```

v1.10.0 - is the last tag in repo, feel free to choose what you want.

## Donate
Expand Down

0 comments on commit fd91ece

Please sign in to comment.