1
0
mirror of https://github.com/duke-git/lancet.git synced 2026-02-12 16:52:29 +08:00

doc: update link in readme

This commit is contained in:
dudaodong
2023-07-03 10:40:50 +08:00
parent ffe46fd06d
commit acb08dfd90

View File

@@ -75,7 +75,7 @@ func main() {
### <span id="index">Index<span> ### <span id="index">Index<span>
- [Algorithm](#Algorithm) - <a href="#Algorithm">Algorithm</a>
- [Compare](#Compare) - [Compare](#Compare)
- [Concurrency](#Concurrency) - [Concurrency](#Concurrency)
- [Condition](#Condition) - [Condition](#Condition)
@@ -102,7 +102,7 @@ func main() {
- [Validator](#Validator) - [Validator](#Validator)
- [Xerror](#Xerror) - [Xerror](#Xerror)
### <span id="Algorithm">1. Algorithm package implements some basic algorithm. eg. sort, search.</span></span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; [index](#index) ### <span id="Algorithm"> 1. Algorithm package implements some basic algorithm. eg. sort, search.</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; [index](#index)
```go ```go
import "github.com/duke-git/lancet/v2/algorithm" import "github.com/duke-git/lancet/v2/algorithm"
@@ -147,7 +147,7 @@ import "github.com/duke-git/lancet/v2/algorithm"
[[doc](https://github.com/duke-git/lancet/blob/main/docs/algorithm.md#LRUCache)] [[doc](https://github.com/duke-git/lancet/blob/main/docs/algorithm.md#LRUCache)]
[[play](https://go.dev/play/p/-EZjgOURufP)] [[play](https://go.dev/play/p/-EZjgOURufP)]
### <span id="Compare">2. Compare package provides a lightweight comparison function on any type.</span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; [index](#index) ### <span id="Compare"> 2. Compare package provides a lightweight comparison function on any type.</span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; [index](#index)
```go ```go
import "github.com/duke-git/lancet/v2/compare" import "github.com/duke-git/lancet/v2/compare"