Skip to content

Commit

Permalink
Prepared packages for release
Browse files Browse the repository at this point in the history
  • Loading branch information
codemental committed Feb 9, 2024
1 parent c6968c3 commit a366686
Show file tree
Hide file tree
Showing 25 changed files with 36 additions and 36 deletions.
8 changes: 4 additions & 4 deletions client/endpoint.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
4 changes: 2 additions & 2 deletions client/endpoint_test.go
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
4 changes: 2 additions & 2 deletions client/receive_action.go
Original file line number Diff line number Diff line change
@@ -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"
)
Expand Down
2 changes: 1 addition & 1 deletion client/send_action.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package client

import (
"github.com/goclarum/clarum/http/message"
"github.com/go-clarum/clarum-http/message"
"testing"
)

Expand Down
2 changes: 1 addition & 1 deletion client/test_action.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package client

import (
"github.com/goclarum/clarum/http/internal"
"github.com/go-clarum/clarum-http/internal"
"testing"
)

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/goclarum/clarum/http
module github.com/go-clarum/clarum-http

go 1.21

Expand Down
4 changes: 2 additions & 2 deletions http.go
Original file line number Diff line number Diff line change
@@ -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 {
Expand Down
4 changes: 2 additions & 2 deletions internal/validators/validators.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
4 changes: 2 additions & 2 deletions internal/validators/validators_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)
Expand Down
2 changes: 1 addition & 1 deletion itests/errors/client_request_validation_test.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package errors

import (
"github.com/goclarum/clarum/http/message"
"github.com/go-clarum/clarum-http/message"
"testing"
)

Expand Down
2 changes: 1 addition & 1 deletion itests/errors/client_response_validation_test.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package errors

import (
"github.com/goclarum/clarum/http/message"
"github.com/go-clarum/clarum-http/message"
"net/http"
"testing"
)
Expand Down
2 changes: 1 addition & 1 deletion itests/errors/json_validation_test.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package errors

import (
"github.com/goclarum/clarum/http/message"
"github.com/go-clarum/clarum-http/message"
"net/http"
"testing"
)
Expand Down
2 changes: 1 addition & 1 deletion itests/errors/server_validation_test.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package errors

import (
"github.com/goclarum/clarum/http/message"
"github.com/go-clarum/clarum-http/message"
"net/http"
"testing"
)
Expand Down
2 changes: 1 addition & 1 deletion itests/errors/setup_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion itests/json_validation_test.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package itests

import (
"github.com/goclarum/clarum/http/message"
"github.com/go-clarum/clarum-http/message"
"net/http"
"testing"
)
Expand Down
2 changes: 1 addition & 1 deletion itests/message_validation_test.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package itests

import (
"github.com/goclarum/clarum/http/message"
"github.com/go-clarum/clarum-http/message"
"net/http"
"testing"
)
Expand Down
2 changes: 1 addition & 1 deletion itests/setup_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion message/message.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package message

import (
"github.com/goclarum/clarum/http/constants"
"github.com/go-clarum/clarum-http/constants"
"maps"
)

Expand Down
2 changes: 1 addition & 1 deletion message/request.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion message/request_test.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package message

import (
"github.com/goclarum/clarum/http/constants"
"github.com/go-clarum/clarum-http/constants"
"net/http"
"testing"
)
Expand Down
2 changes: 1 addition & 1 deletion message/response_test.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package message

import (
"github.com/goclarum/clarum/http/constants"
"github.com/go-clarum/clarum-http/constants"
"testing"
)

Expand Down
6 changes: 3 additions & 3 deletions server/endpoint.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
4 changes: 2 additions & 2 deletions server/receive_action.go
Original file line number Diff line number Diff line change
@@ -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"
)
Expand Down
2 changes: 1 addition & 1 deletion server/send_action.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package server

import (
"github.com/goclarum/clarum/http/message"
"github.com/go-clarum/clarum-http/message"
"testing"
)

Expand Down
2 changes: 1 addition & 1 deletion server/test_action.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package server

import (
"github.com/goclarum/clarum/http/internal"
"github.com/go-clarum/clarum-http/internal"
"testing"
)

Expand Down

0 comments on commit a366686

Please sign in to comment.