File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed File renamed without changes.
Original file line number Diff line number Diff line change 1
1
# Heap structure, using go generics
2
+ [ ![ Go Report Card] ( https://goreportcard.com/badge/github.com/lispad/go-generics-tools )] ( https://goreportcard.com/report/github.com/lispad/go-generics-tools )
3
+ [ ![ MIT License] ( https://img.shields.io/badge/License-MIT-blue.svg )] ( LICENSE )
2
4
3
5
Introduction
4
6
------------
@@ -9,7 +11,7 @@ generics. There are several heap implementations
9
11
- generic Heap implementation, that could be used for ` any ` type,
10
12
- ` ComparableHeap ` for [ comparable] ( https://go.dev/ref/spec#Comparison_operators ) types. Additional ` Search `
11
13
and ` Delete ` are implemented,
12
- - for [ ` constraints.Ordered ` ] ( https://pkg.go.dev/golang.org/x/exp/constraints#Ordered ) there are syntax sugar
14
+ - for [ ` constraints.Ordered ` ] ( https://pkg.go.dev/golang.org/x/exp/constraints#Ordered ) there are
13
15
constructors for min, max heaps;
14
16
15
17
Also use-cases provided:
@@ -31,7 +33,7 @@ Usage Example
31
33
import (
32
34
"fmt"
33
35
34
- "github.com/lispad/go-generics-heap /binheap"
36
+ "github.com/lispad/go-generics-tools /binheap"
35
37
)
36
38
37
39
func main() {
@@ -74,7 +76,7 @@ Installation
74
76
75
77
To install package, run:
76
78
77
- go get github.com/lispad/go-generics-heap /binheap
79
+ go get github.com/lispad/go-generics-tools /binheap
78
80
79
81
License
80
82
-------
You can’t perform that action at this time.
0 commit comments