mirror of
https://github.com/duke-git/lancet.git
synced 2026-02-06 13:42:28 +08:00
doc: update link in readme
This commit is contained in:
@@ -75,7 +75,7 @@ func main() {
|
||||
|
||||
### <span id="index">Index<span>
|
||||
|
||||
- [Algorithm](#Algorithm)
|
||||
- <a href="#Algorithm">Algorithm</a>
|
||||
- [Compare](#Compare)
|
||||
- [Concurrency](#Concurrency)
|
||||
- [Condition](#Condition)
|
||||
@@ -102,7 +102,7 @@ func main() {
|
||||
- [Validator](#Validator)
|
||||
- [Xerror](#Xerror)
|
||||
|
||||
### <span id="Algorithm">1. Algorithm package implements some basic algorithm. eg. sort, search.</span></span> [index](#index)
|
||||
### <span id="Algorithm"> 1. Algorithm package implements some basic algorithm. eg. sort, search.</span> [index](#index)
|
||||
|
||||
```go
|
||||
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)]
|
||||
[[play](https://go.dev/play/p/-EZjgOURufP)]
|
||||
|
||||
### <span id="Compare">2. Compare package provides a lightweight comparison function on any type.</span> [index](#index)
|
||||
### <span id="Compare"> 2. Compare package provides a lightweight comparison function on any type.</span> [index](#index)
|
||||
|
||||
```go
|
||||
import "github.com/duke-git/lancet/v2/compare"
|
||||
|
||||
Reference in New Issue
Block a user