Create internal DC package

This commit is contained in:
9seconds
2026-02-16 14:15:38 +01:00
parent 852ca713c8
commit 0a5a45b32d
13 changed files with 440 additions and 452 deletions
+16
View File
@@ -0,0 +1,16 @@
package dc_test
import (
"testing"
"github.com/9seconds/mtg/v2/mtglib/internal/dc"
"github.com/stretchr/testify/assert"
)
func TestAddr(t *testing.T) {
t.Parallel()
addr := dc.Addr{Network: "tcp4", Address: "127.0.0.1:443"}
assert.Equal(t, "127.0.0.1:443", addr.String())
}