diff --git a/README.md b/README.md index d643ba9..25c4b3a 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,5 @@ # Generic Disjoint Sets (Union-Find Sets) +[![Go](https://github.com/RickoNoNo3/ufset/actions/workflows/go.yml/badge.svg?branch=master)](https://github.com/RickoNoNo3/ufset/actions/workflows/go.yml) Implementation of disjoint set in Go. For the algorithm, see https://en.wikipedia.org/wiki/Disjoint-set_data_structure diff --git a/tree.go b/tree.go index 34964b6..021ba09 100644 --- a/tree.go +++ b/tree.go @@ -1,4 +1,4 @@ -package generic_disjoint_set +package ufset type setNode[K comparable] struct { Key K diff --git a/tree_test.go b/tree_test.go index 70a5069..a39370b 100644 --- a/tree_test.go +++ b/tree_test.go @@ -1,4 +1,4 @@ -package generic_disjoint_set +package ufset import ( "fmt"