Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

## 📋 Requirements

- Go 1.20+
- Go 1.21+

## 🚀 Install

Expand Down
5 changes: 2 additions & 3 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
module github.com/libgox/spring-cloud-go

go 1.20
go 1.21

require (
github.com/libgox/addr v0.2.0
github.com/libgox/gocollections v0.1.1
github.com/protocol-laboratory/zookeeper-client-go v0.1.2
github.com/protocol-laboratory/zookeeper-client-go v0.3.0
github.com/stretchr/testify v1.9.0
golang.org/x/exp v0.0.0-20240823005443-9b4947da3948
)

require (
Expand Down
6 changes: 2 additions & 4 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,10 @@ github.com/libgox/gocollections v0.1.1 h1:u102d/xMBF+8Cf/5UuFpcM/iP0NgvWlOR9tVo1
github.com/libgox/gocollections v0.1.1/go.mod h1:Y4udpR8lStv1f67hVWbMCrcTyTvf98bFFsu/ZXvAvZ0=
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/protocol-laboratory/zookeeper-client-go v0.1.2 h1:iVJkj7UaRvOStjnUzXFPX5btRnauZWKizNfzfi8/TXU=
github.com/protocol-laboratory/zookeeper-client-go v0.1.2/go.mod h1:xFuvgUWIcZtATIPd//XjcND0nIqPmUpyrTE15LPw8ZE=
github.com/protocol-laboratory/zookeeper-client-go v0.3.0 h1:hZ/5jkci/AeIGHkamPuIqm8gdN182MKtZQCdGsYbICY=
github.com/protocol-laboratory/zookeeper-client-go v0.3.0/go.mod h1:ZqjAsxIOGdiyAREKHZZ0giHqvZo6Xswlc6ORBXuevAg=
github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsTg=
github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
golang.org/x/exp v0.0.0-20240823005443-9b4947da3948 h1:kx6Ds3MlpiUHKj7syVnbp57++8WpuKPcR5yjLBjvLEA=
golang.org/x/exp v0.0.0-20240823005443-9b4947da3948/go.mod h1:akd2r19cwCdwSwWeIdzYQGa/EZZyqcOdwWiwj5L5eKQ=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
Expand Down
2 changes: 1 addition & 1 deletion spring_cloud_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ import (
"encoding/xml"
"fmt"
"io"
"log/slog"
"net"
"net/http"
"net/textproto"
"sync/atomic"
"time"

"github.com/libgox/gocollections/syncx"
"golang.org/x/exp/slog"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion zookeeper_discovery.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ package springcloud
import (
"encoding/json"
"fmt"
"log/slog"
"runtime"
"strings"
"time"

"github.com/libgox/gocollections/syncx"
"github.com/protocol-laboratory/zookeeper-client-go/zk"
"golang.org/x/exp/slog"
)

type ZooKeeperDiscoveryConfig struct {
Expand Down
Loading