~ashkeel/kilovolt-client-go

2790eeb91d37d01b737c0033c65b36bb824724e1 — Ash Keel 2 years ago dd4398d v8.0.0
v8
6 files changed, 8 insertions(+), 7 deletions(-)

M README.md
M client.go
M client_test.go
M cmd/kvcli/main.go
M go.mod
M go.sum
M README.md => README.md +1 -0
@@ 8,6 8,7 @@ Depending on what version of kilovolt you need to interface with, you'll need to

| Protocol | Go URL                                               |
|----------|------------------------------------------------------|
| `v8`     | `go get github.com/strimertul/kilovolt-client-go/v8` |
| `v7`     | `go get github.com/strimertul/kilovolt-client-go/v7` |
| `v6`     | `go get github.com/strimertul/kilovolt-client-go/v6` |
| `v5`     | `go get github.com/strimertul/kilovolt-client-go/v3` |

M client.go => client.go +1 -1
@@ 17,7 17,7 @@ import (
	"github.com/gorilla/websocket"
	jsoniter "github.com/json-iterator/go"
	cmap "github.com/orcaman/concurrent-map"
	kv "github.com/strimertul/kilovolt/v7"
	kv "github.com/strimertul/kilovolt/v8"
)

var (

M client_test.go => client_test.go +1 -1
@@ 8,7 8,7 @@ import (

	"go.uber.org/zap"

	kv "github.com/strimertul/kilovolt/v7"
	kv "github.com/strimertul/kilovolt/v8"
)

func TestCommands(t *testing.T) {

M cmd/kvcli/main.go => cmd/kvcli/main.go +1 -1
@@ 7,7 7,7 @@ import (
	"os"
	"strings"

	kvclient "github.com/strimertul/kilovolt-client-go/v7"
	kvclient "github.com/strimertul/kilovolt-client-go/v8"
)

func check(err error) {

M go.mod => go.mod +2 -2
@@ 1,4 1,4 @@
module github.com/strimertul/kilovolt-client-go/v7
module github.com/strimertul/kilovolt-client-go/v8

go 1.16



@@ 6,6 6,6 @@ require (
	github.com/gorilla/websocket v1.4.2
	github.com/json-iterator/go v1.1.11
	github.com/orcaman/concurrent-map v0.0.0-20210501183033-44dafcb38ecc
	github.com/strimertul/kilovolt/v7 v7.2.0
	github.com/strimertul/kilovolt/v8 v8.0.0
	go.uber.org/zap v1.20.0
)

M go.sum => go.sum +2 -2
@@ 26,8 26,8 @@ github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+
github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI=
github.com/stretchr/testify v1.7.0 h1:nwc3DEeHmmLAfoZucVR881uASk0Mfjw8xYJ99tb5CcY=
github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
github.com/strimertul/kilovolt/v7 v7.2.0 h1:RHpwBBX8eQsW0vly4+tTRg0P8bg3k4ejG1qt8LfQTQA=
github.com/strimertul/kilovolt/v7 v7.2.0/go.mod h1:Prg0p9gujLdOsPWM/jpcqMP/1tsXB0yVql6WnRdVSYg=
github.com/strimertul/kilovolt/v8 v8.0.0 h1:FSuq40kHT1G/LZJb3spwgBp7WuGtPvAik3ympIzSxl4=
github.com/strimertul/kilovolt/v8 v8.0.0/go.mod h1:vW++ELCWnYzENIIP33p+zDGQjz/GpQ5z7YRCBrBtCzA=
github.com/yuin/goldmark v1.3.5/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1Zlc8k=
go.uber.org/atomic v1.7.0/go.mod h1:fEN4uk6kAWBTFdckzkM89CLk9XfWZrxpCo0nPH17wJc=
go.uber.org/atomic v1.9.0 h1:ECmE8Bn/WFTYwEW/bpKD3M8VtR/zQVbavAoalC1PYyE=