Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch to go.tomakado.io #8

Merged
merged 2 commits into from
Mar 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
# containers [![Go Reference](https://pkg.go.dev/badge/github.com/tomakado/containers.svg)](https://pkg.go.dev/github.com/tomakado/containers) [![Coverage Status](https://coveralls.io/repos/github/tomakado/containers/badge.svg?branch=master)](https://coveralls.io/github/tomakado/containers?branch=master) [![Go Report Card](https://goreportcard.com/badge/github.com/tomakado/containers)](https://goreportcard.com/report/github.com/tomakado/containers)
# containers [![Go Reference](https://pkg.go.dev/badge/go.tomakado.io/containers.svg)](https://pkg.go.dev/go.tomakado.io/containers) [![Coverage Status](https://coveralls.io/repos/github/tomakado/containers/badge.svg?branch=master)](https://coveralls.io/github/tomakado/containers?branch=master) [![Go Report Card](https://goreportcard.com/badge/go.tomakado.io/containers)](https://goreportcard.com/report/go.tomakado.io/containers)

Collection of simple generic data structures currently missing in Go's standard library.

# Install

```bash
go get -u go.tomakado.io/containers
```

# Data structures

* Set
Expand Down
2 changes: 1 addition & 1 deletion binary/tree_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"testing"

"github.com/stretchr/testify/assert"
"github.com/tomakado/containers/binary"
"go.tomakado.io/containers/binary"
)

func TestAppend(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/tomakado/containers
module go.tomakado.io/containers

go 1.19

Expand Down
2 changes: 1 addition & 1 deletion list/list_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"testing"

"github.com/stretchr/testify/assert"
"github.com/tomakado/containers/list"
"go.tomakado.io/containers/list"
)

func TestList(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion stack/stack_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"testing"

"github.com/stretchr/testify/assert"
"github.com/tomakado/containers/stack"
"go.tomakado.io/containers/stack"
)

func TestStack(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion tree/tree.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package tree

import "github.com/tomakado/containers/queue"
import "go.tomakado.io/containers/queue"

// Node is a node of N-ary tree.
// Implementation is based on code by Ilija Eftimov (URL: https://ieftimov.com/posts/golang-datastructures-trees/).
Expand Down
2 changes: 1 addition & 1 deletion tree/tree_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"testing"

"github.com/stretchr/testify/assert"
"github.com/tomakado/containers/tree"
"go.tomakado.io/containers/tree"
)

func TestAppend(t *testing.T) {
Expand Down
Loading