Skip to content

Commit

Permalink
Updated dependency on clarum-core
Browse files Browse the repository at this point in the history
  • Loading branch information
codemental committed Feb 9, 2024
1 parent 19cad2c commit c6968c3
Show file tree
Hide file tree
Showing 9 changed files with 20 additions and 20 deletions.
10 changes: 5 additions & 5 deletions client/endpoint.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ import (
"bytes"
"errors"
"fmt"
"github.com/goclarum/clarum/core/config"
"github.com/goclarum/clarum/core/control"
"github.com/goclarum/clarum/core/durations"
"github.com/goclarum/clarum/core/logging"
clarumstrings "github.com/goclarum/clarum/core/validators/strings"
"github.com/go-clarum/clarum-core/config"
"github.com/go-clarum/clarum-core/control"
"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"
Expand Down
4 changes: 1 addition & 3 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,8 @@ module github.com/goclarum/clarum/http
go 1.21

// until core is published
require github.com/goclarum/clarum/core v0.0.0
require github.com/go-clarum/clarum-core v0.1.0

require github.com/go-clarum/clarum-json v1.0.0

require gopkg.in/yaml.v3 v3.0.1 // indirect

replace github.com/goclarum/clarum/core => ../clarum-core
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
github.com/go-clarum/clarum-core v0.1.0 h1:GkXUn5U2JaUlIi/ojkgexPXcXwhfzwefs5klmn4P1q0=
github.com/go-clarum/clarum-core v0.1.0/go.mod h1:L1guRHi+CrM6CE2PNr2raAvfVPzJSR6VaEyC1a3bP1o=
github.com/go-clarum/clarum-json v1.0.0 h1:HFnhhzDjT4et/X/ricK7pXDPhtsZSEpORuSPKUiFrCY=
github.com/go-clarum/clarum-json v1.0.0/go.mod h1:SZi2GKhcHUUCN0g2njGi9vrgr1+8gLwEjhMAiNZao1s=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM=
Expand Down
2 changes: 1 addition & 1 deletion internal/utils/urls.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package utils

import (
"fmt"
clarumstrings "github.com/goclarum/clarum/core/validators/strings"
clarumstrings "github.com/go-clarum/clarum-core/validators/strings"
"net/url"
)

Expand Down
6 changes: 3 additions & 3 deletions internal/validators/validators.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ package validators
import (
"errors"
"fmt"
"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-json/comparator"
"github.com/go-clarum/clarum-json/recorder"
"github.com/goclarum/clarum/core/arrays"
"github.com/goclarum/clarum/core/logging"
clarumstrings "github.com/goclarum/clarum/core/validators/strings"
"github.com/goclarum/clarum/http/internal"
"github.com/goclarum/clarum/http/message"
"io"
Expand Down
4 changes: 2 additions & 2 deletions internal/validators/validators_test.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package validators

import (
"github.com/goclarum/clarum/core/config"
"github.com/goclarum/clarum/core/logging"
"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"
"net/http"
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 @@ -2,7 +2,7 @@ package errors

import (
"errors"
clarumcore "github.com/goclarum/clarum/core"
clarumcore "github.com/go-clarum/clarum-core"
clarumhttp "github.com/goclarum/clarum/http"

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

import (
clarumcore "github.com/goclarum/clarum/core"
clarumcore "github.com/go-clarum/clarum-core"
clarumhttp "github.com/goclarum/clarum/http"
"os"
"testing"
Expand Down
8 changes: 4 additions & 4 deletions server/endpoint.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ import (
"context"
"errors"
"fmt"
"github.com/goclarum/clarum/core/config"
"github.com/goclarum/clarum/core/control"
"github.com/goclarum/clarum/core/logging"
clarumstrings "github.com/goclarum/clarum/core/validators/strings"
"github.com/go-clarum/clarum-core/config"
"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"
Expand Down

0 comments on commit c6968c3

Please sign in to comment.