diff --git a/constants.go b/constants.go index cbd7d5756..5a8223dcd 100644 --- a/constants.go +++ b/constants.go @@ -1,7 +1,7 @@ // Package sam provides a pure-Go implementation of SAMv3.3 (Simple Anonymous Messaging) for I2P networks. // This is the root package wrapper that provides sam3-compatible API surface while delegating // implementation details to specialized sub-packages. -package sam +package sam3 import ( "os" diff --git a/constants_test.go b/constants_test.go index 980a3f568..ddfd27056 100644 --- a/constants_test.go +++ b/constants_test.go @@ -1,4 +1,4 @@ -package sam +package sam3 import ( "os" diff --git a/go.mod b/go.mod index 66fec0e3e..aac145d80 100644 --- a/go.mod +++ b/go.mod @@ -20,3 +20,5 @@ require ( golang.org/x/sys v0.34.0 // indirect golang.org/x/text v0.27.0 // indirect ) + +replace github.com/go-i2p/go-sam-go => . diff --git a/sam3.go b/sam3.go index c105e9e87..98e8f8b21 100644 --- a/sam3.go +++ b/sam3.go @@ -1,7 +1,7 @@ // Package sam provides a pure-Go implementation of SAMv3.3 for I2P networks. // This file implements the main wrapper functions that delegate to sub-package implementations // while providing the sam3-compatible API surface at the root package level. -package sam +package sam3 import ( "errors" diff --git a/sam3_test.go b/sam3_test.go index 6861889e2..b49c2c0e1 100644 --- a/sam3_test.go +++ b/sam3_test.go @@ -1,4 +1,4 @@ -package sam +package sam3 import ( "errors" diff --git a/sessions.go b/sessions.go index ddfc67e0f..dfa86ee59 100644 --- a/sessions.go +++ b/sessions.go @@ -1,4 +1,4 @@ -package sam +package sam3 import ( "github.com/go-i2p/go-sam-go/primary" diff --git a/sessions_test.go b/sessions_test.go index 4de71e84c..5c74c7691 100644 --- a/sessions_test.go +++ b/sessions_test.go @@ -1,4 +1,4 @@ -package sam +package sam3 import ( "fmt" diff --git a/types.go b/types.go index b08254a94..8362aca05 100644 --- a/types.go +++ b/types.go @@ -1,7 +1,7 @@ // Package sam provides type aliases and wrappers for exposing sub-package types at the root level. // This file implements the sam3-compatible API surface by creating type aliases that delegate // to the appropriate sub-package implementations while maintaining a clean public interface. -package sam +package sam3 import ( "github.com/go-i2p/go-sam-go/common" diff --git a/types_test.go b/types_test.go index 37672a21e..8f7863e41 100644 --- a/types_test.go +++ b/types_test.go @@ -1,4 +1,4 @@ -package sam +package sam3 import ( "reflect"