From a68c29e8b38828f2064900be0fc95c0261016511 Mon Sep 17 00:00:00 2001 From: RickoNoNo3 Date: Wed, 20 Mar 2024 19:40:51 +0800 Subject: [PATCH] update package name --- README.md | 1 + tree.go | 2 +- tree_test.go | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) 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"