From a1e52a73992913b02d99c2afa882a8b61cb0935e Mon Sep 17 00:00:00 2001 From: Colin Henry Date: Thu, 5 Sep 2024 22:30:30 -0700 Subject: [PATCH] changing module name --- README.md | 2 +- go.mod | 2 +- rest/collection.go | 4 ++-- rest/entity_handler.go | 2 +- rest/response_encoder.go | 6 +++--- time/arvelie/arvelie_test.go | 2 +- time/neralie/neralie_test.go | 2 +- 7 files changed, 10 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 8a8b583..a083974 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ A mix of useful packages, some are works in progress. ## Install ``` -go get github.com/jchenry/x +go get git.sdf.org/jchenry/x ``` ## Contributing diff --git a/go.mod b/go.mod index 484c87e..e282f20 100755 --- a/go.mod +++ b/go.mod @@ -1,3 +1,3 @@ -module github.com/jchenry/x +module git.sdf.org/jchenry/x go 1.19 diff --git a/rest/collection.go b/rest/collection.go index a4d9682..6e4f40a 100755 --- a/rest/collection.go +++ b/rest/collection.go @@ -6,8 +6,8 @@ import ( "path/filepath" "sync" - "github.com/jchenry/x/encoding" - "github.com/jchenry/x/log" + "git.sdf.org/jchenry/x/encoding" + "git.sdf.org/jchenry/x/log" ) // Example: Resource(p, c, JSONEncoder, json.Decode(func()interface{}{return &foo{}}), log.None{}) diff --git a/rest/entity_handler.go b/rest/entity_handler.go index d683e15..cf53f31 100644 --- a/rest/entity_handler.go +++ b/rest/entity_handler.go @@ -3,7 +3,7 @@ package rest import ( gohttp "net/http" - "github.com/jchenry/x/net/http" + "git.sdf.org/jchenry/x/net/http" ) // EntityHandler returns a handler that provides restful verbs, following a CRUD model diff --git a/rest/response_encoder.go b/rest/response_encoder.go index 7a69b5d..3b95dbc 100644 --- a/rest/response_encoder.go +++ b/rest/response_encoder.go @@ -3,9 +3,9 @@ package rest import ( "net/http" - "github.com/jchenry/x/encoding" - "github.com/jchenry/x/encoding/json" - "github.com/jchenry/x/encoding/xml" + "git.sdf.org/jchenry/x/encoding" + "git.sdf.org/jchenry/x/encoding/json" + "git.sdf.org/jchenry/x/encoding/xml" ) type EntityEncoder func(w http.ResponseWriter, e interface{}) diff --git a/time/arvelie/arvelie_test.go b/time/arvelie/arvelie_test.go index 7744519..f4bdbf8 100755 --- a/time/arvelie/arvelie_test.go +++ b/time/arvelie/arvelie_test.go @@ -6,7 +6,7 @@ import ( "testing" "time" - "github.com/jchenry/x/time/arvelie" + "git.sdf.org/jchenry/x/time/arvelie" ) func TestFromDate(t *testing.T) { diff --git a/time/neralie/neralie_test.go b/time/neralie/neralie_test.go index 1c5d7eb..b34a410 100755 --- a/time/neralie/neralie_test.go +++ b/time/neralie/neralie_test.go @@ -6,7 +6,7 @@ import ( "testing" "time" - "github.com/jchenry/x/time/neralie" + "git.sdf.org/jchenry/x/time/neralie" ) func TestFromTime(t *testing.T) {