From a36668684406f5e7cda0ab75b01b36aefc4d26c5 Mon Sep 17 00:00:00 2001 From: Liviu Ilea <15732974+codemental@users.noreply.github.com> Date: Sat, 10 Feb 2024 00:48:00 +0100 Subject: [PATCH] Prepared packages for release --- client/endpoint.go | 8 ++++---- client/endpoint_test.go | 4 ++-- client/receive_action.go | 4 ++-- client/send_action.go | 2 +- client/test_action.go | 2 +- go.mod | 2 +- http.go | 4 ++-- internal/validators/validators.go | 4 ++-- internal/validators/validators_test.go | 4 ++-- itests/errors/client_request_validation_test.go | 2 +- itests/errors/client_response_validation_test.go | 2 +- itests/errors/json_validation_test.go | 2 +- itests/errors/server_validation_test.go | 2 +- itests/errors/setup_test.go | 2 +- itests/json_validation_test.go | 2 +- itests/message_validation_test.go | 2 +- itests/setup_test.go | 2 +- message/message.go | 2 +- message/request.go | 2 +- message/request_test.go | 2 +- message/response_test.go | 2 +- server/endpoint.go | 6 +++--- server/receive_action.go | 4 ++-- server/send_action.go | 2 +- server/test_action.go | 2 +- 25 files changed, 36 insertions(+), 36 deletions(-) diff --git a/client/endpoint.go b/client/endpoint.go index a04f015..43adb81 100644 --- a/client/endpoint.go +++ b/client/endpoint.go @@ -9,10 +9,10 @@ import ( "github.com/go-clarum/clarum-core/durations" "github.com/go-clarum/clarum-core/logging" clarumstrings "github.com/go-clarum/clarum-core/validators/strings" - "github.com/goclarum/clarum/http/constants" - "github.com/goclarum/clarum/http/internal/utils" - "github.com/goclarum/clarum/http/internal/validators" - "github.com/goclarum/clarum/http/message" + "github.com/go-clarum/clarum-http/constants" + "github.com/go-clarum/clarum-http/internal/utils" + "github.com/go-clarum/clarum-http/internal/validators" + "github.com/go-clarum/clarum-http/message" "io" "net/http" "time" diff --git a/client/endpoint_test.go b/client/endpoint_test.go index d17cccc..54af44d 100644 --- a/client/endpoint_test.go +++ b/client/endpoint_test.go @@ -1,8 +1,8 @@ package client import ( - "github.com/goclarum/clarum/http/constants" - "github.com/goclarum/clarum/http/message" + "github.com/go-clarum/clarum-http/constants" + "github.com/go-clarum/clarum-http/message" "net/http" "testing" "time" diff --git a/client/receive_action.go b/client/receive_action.go index 94db7b0..2fa19d7 100644 --- a/client/receive_action.go +++ b/client/receive_action.go @@ -1,8 +1,8 @@ package client import ( - "github.com/goclarum/clarum/http/internal" - "github.com/goclarum/clarum/http/message" + "github.com/go-clarum/clarum-http/internal" + "github.com/go-clarum/clarum-http/message" "net/http" "testing" ) diff --git a/client/send_action.go b/client/send_action.go index 64639c5..912bdae 100644 --- a/client/send_action.go +++ b/client/send_action.go @@ -1,7 +1,7 @@ package client import ( - "github.com/goclarum/clarum/http/message" + "github.com/go-clarum/clarum-http/message" "testing" ) diff --git a/client/test_action.go b/client/test_action.go index b9138da..e90139d 100644 --- a/client/test_action.go +++ b/client/test_action.go @@ -1,7 +1,7 @@ package client import ( - "github.com/goclarum/clarum/http/internal" + "github.com/go-clarum/clarum-http/internal" "testing" ) diff --git a/go.mod b/go.mod index 8ff9297..63f3b08 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/goclarum/clarum/http +module github.com/go-clarum/clarum-http go 1.21 diff --git a/http.go b/http.go index 0a1a9a8..f0afb40 100644 --- a/http.go +++ b/http.go @@ -1,8 +1,8 @@ package http import ( - "github.com/goclarum/clarum/http/client" - "github.com/goclarum/clarum/http/server" + "github.com/go-clarum/clarum-http/client" + "github.com/go-clarum/clarum-http/server" ) type EndpointBuilder struct { diff --git a/internal/validators/validators.go b/internal/validators/validators.go index 0ecc2a9..19a5180 100644 --- a/internal/validators/validators.go +++ b/internal/validators/validators.go @@ -6,10 +6,10 @@ import ( "github.com/go-clarum/clarum-core/arrays" "github.com/go-clarum/clarum-core/logging" clarumstrings "github.com/go-clarum/clarum-core/validators/strings" + "github.com/go-clarum/clarum-http/internal" + "github.com/go-clarum/clarum-http/message" "github.com/go-clarum/clarum-json/comparator" "github.com/go-clarum/clarum-json/recorder" - "github.com/goclarum/clarum/http/internal" - "github.com/goclarum/clarum/http/message" "io" "net/http" "net/url" diff --git a/internal/validators/validators_test.go b/internal/validators/validators_test.go index 74e2f2a..0d4986f 100644 --- a/internal/validators/validators_test.go +++ b/internal/validators/validators_test.go @@ -3,8 +3,8 @@ package validators import ( "github.com/go-clarum/clarum-core/config" "github.com/go-clarum/clarum-core/logging" - "github.com/goclarum/clarum/http/constants" - "github.com/goclarum/clarum/http/message" + "github.com/go-clarum/clarum-http/constants" + "github.com/go-clarum/clarum-http/message" "net/http" "testing" ) diff --git a/itests/errors/client_request_validation_test.go b/itests/errors/client_request_validation_test.go index 9588a6c..2bd8fc1 100644 --- a/itests/errors/client_request_validation_test.go +++ b/itests/errors/client_request_validation_test.go @@ -1,7 +1,7 @@ package errors import ( - "github.com/goclarum/clarum/http/message" + "github.com/go-clarum/clarum-http/message" "testing" ) diff --git a/itests/errors/client_response_validation_test.go b/itests/errors/client_response_validation_test.go index 4faacc8..6460204 100644 --- a/itests/errors/client_response_validation_test.go +++ b/itests/errors/client_response_validation_test.go @@ -1,7 +1,7 @@ package errors import ( - "github.com/goclarum/clarum/http/message" + "github.com/go-clarum/clarum-http/message" "net/http" "testing" ) diff --git a/itests/errors/json_validation_test.go b/itests/errors/json_validation_test.go index d2ff9c0..3f47a04 100644 --- a/itests/errors/json_validation_test.go +++ b/itests/errors/json_validation_test.go @@ -1,7 +1,7 @@ package errors import ( - "github.com/goclarum/clarum/http/message" + "github.com/go-clarum/clarum-http/message" "net/http" "testing" ) diff --git a/itests/errors/server_validation_test.go b/itests/errors/server_validation_test.go index 3baefa3..b6dea91 100644 --- a/itests/errors/server_validation_test.go +++ b/itests/errors/server_validation_test.go @@ -1,7 +1,7 @@ package errors import ( - "github.com/goclarum/clarum/http/message" + "github.com/go-clarum/clarum-http/message" "net/http" "testing" ) diff --git a/itests/errors/setup_test.go b/itests/errors/setup_test.go index 842f67a..dbb215b 100644 --- a/itests/errors/setup_test.go +++ b/itests/errors/setup_test.go @@ -3,7 +3,7 @@ package errors import ( "errors" clarumcore "github.com/go-clarum/clarum-core" - clarumhttp "github.com/goclarum/clarum/http" + clarumhttp "github.com/go-clarum/clarum-http" "os" "strings" diff --git a/itests/json_validation_test.go b/itests/json_validation_test.go index c918bc3..f21e56f 100644 --- a/itests/json_validation_test.go +++ b/itests/json_validation_test.go @@ -1,7 +1,7 @@ package itests import ( - "github.com/goclarum/clarum/http/message" + "github.com/go-clarum/clarum-http/message" "net/http" "testing" ) diff --git a/itests/message_validation_test.go b/itests/message_validation_test.go index 0628e01..cd081fc 100644 --- a/itests/message_validation_test.go +++ b/itests/message_validation_test.go @@ -1,7 +1,7 @@ package itests import ( - "github.com/goclarum/clarum/http/message" + "github.com/go-clarum/clarum-http/message" "net/http" "testing" ) diff --git a/itests/setup_test.go b/itests/setup_test.go index 765c66b..7c0a77e 100644 --- a/itests/setup_test.go +++ b/itests/setup_test.go @@ -2,7 +2,7 @@ package itests import ( clarumcore "github.com/go-clarum/clarum-core" - clarumhttp "github.com/goclarum/clarum/http" + clarumhttp "github.com/go-clarum/clarum-http" "os" "testing" "time" diff --git a/message/message.go b/message/message.go index a1fd2c2..5be5426 100644 --- a/message/message.go +++ b/message/message.go @@ -1,7 +1,7 @@ package message import ( - "github.com/goclarum/clarum/http/constants" + "github.com/go-clarum/clarum-http/constants" "maps" ) diff --git a/message/request.go b/message/request.go index 58666dc..6b835e7 100644 --- a/message/request.go +++ b/message/request.go @@ -2,7 +2,7 @@ package message import ( "fmt" - "github.com/goclarum/clarum/http/internal/utils" + "github.com/go-clarum/clarum-http/internal/utils" "maps" "net/http" "reflect" diff --git a/message/request_test.go b/message/request_test.go index 8a96fdb..239de56 100644 --- a/message/request_test.go +++ b/message/request_test.go @@ -1,7 +1,7 @@ package message import ( - "github.com/goclarum/clarum/http/constants" + "github.com/go-clarum/clarum-http/constants" "net/http" "testing" ) diff --git a/message/response_test.go b/message/response_test.go index 887b557..7d6c6f3 100644 --- a/message/response_test.go +++ b/message/response_test.go @@ -1,7 +1,7 @@ package message import ( - "github.com/goclarum/clarum/http/constants" + "github.com/go-clarum/clarum-http/constants" "testing" ) diff --git a/server/endpoint.go b/server/endpoint.go index eea4e62..41a1b21 100644 --- a/server/endpoint.go +++ b/server/endpoint.go @@ -9,9 +9,9 @@ import ( "github.com/go-clarum/clarum-core/control" "github.com/go-clarum/clarum-core/logging" clarumstrings "github.com/go-clarum/clarum-core/validators/strings" - "github.com/goclarum/clarum/http/constants" - "github.com/goclarum/clarum/http/internal/validators" - "github.com/goclarum/clarum/http/message" + "github.com/go-clarum/clarum-http/constants" + "github.com/go-clarum/clarum-http/internal/validators" + "github.com/go-clarum/clarum-http/message" "io" "net" "net/http" diff --git a/server/receive_action.go b/server/receive_action.go index a8c7e71..241d419 100644 --- a/server/receive_action.go +++ b/server/receive_action.go @@ -1,8 +1,8 @@ package server import ( - "github.com/goclarum/clarum/http/internal" - "github.com/goclarum/clarum/http/message" + "github.com/go-clarum/clarum-http/internal" + "github.com/go-clarum/clarum-http/message" "net/http" "testing" ) diff --git a/server/send_action.go b/server/send_action.go index 9545d5a..c73ccde 100644 --- a/server/send_action.go +++ b/server/send_action.go @@ -1,7 +1,7 @@ package server import ( - "github.com/goclarum/clarum/http/message" + "github.com/go-clarum/clarum-http/message" "testing" ) diff --git a/server/test_action.go b/server/test_action.go index 382b0d7..6190a71 100644 --- a/server/test_action.go +++ b/server/test_action.go @@ -1,7 +1,7 @@ package server import ( - "github.com/goclarum/clarum/http/internal" + "github.com/go-clarum/clarum-http/internal" "testing" )