1
0
Fork 0
mirror of https://git.sr.ht/~ashkeel/strimertul synced 2024-09-18 01:50:50 +00:00

feat: update kilovolt

This commit is contained in:
Ash Keel 2023-11-03 16:55:57 +01:00
parent b8d627fc23
commit bcbe786ce8
No known key found for this signature in database
GPG key ID: 53A9E9A6035DD109
9 changed files with 14 additions and 8 deletions

2
app.go
View file

@ -13,7 +13,7 @@ import (
"runtime/debug" "runtime/debug"
"strconv" "strconv"
kv "github.com/strimertul/kilovolt/v10" kv "github.com/strimertul/kilovolt/v11"
"git.sr.ht/~hamcha/containers/sync" "git.sr.ht/~hamcha/containers/sync"
"github.com/nicklaw5/helix/v2" "github.com/nicklaw5/helix/v2"

View file

@ -5,7 +5,7 @@ import (
"fmt" "fmt"
jsoniter "github.com/json-iterator/go" jsoniter "github.com/json-iterator/go"
kv "github.com/strimertul/kilovolt/v10" kv "github.com/strimertul/kilovolt/v11"
"go.uber.org/zap" "go.uber.org/zap"
) )

View file

@ -5,7 +5,7 @@ import (
"time" "time"
jsoniter "github.com/json-iterator/go" jsoniter "github.com/json-iterator/go"
kv "github.com/strimertul/kilovolt/v10" kv "github.com/strimertul/kilovolt/v11"
) )
func TestLocalDBClientPutKey(t *testing.T) { func TestLocalDBClientPutKey(t *testing.T) {

View file

@ -6,7 +6,7 @@ import (
"os" "os"
"path/filepath" "path/filepath"
kv "github.com/strimertul/kilovolt/v10" kv "github.com/strimertul/kilovolt/v11"
"github.com/urfave/cli/v2" "github.com/urfave/cli/v2"
"go.uber.org/zap" "go.uber.org/zap"

View file

@ -9,7 +9,7 @@ import (
"github.com/strimertul/strimertul/utils" "github.com/strimertul/strimertul/utils"
"github.com/cockroachdb/pebble" "github.com/cockroachdb/pebble"
kv "github.com/strimertul/kilovolt/v10" kv "github.com/strimertul/kilovolt/v11"
pebble_driver "github.com/strimertul/kv-pebble" pebble_driver "github.com/strimertul/kv-pebble"
"go.uber.org/zap" "go.uber.org/zap"
) )

View file

@ -3,7 +3,7 @@ package database
import ( import (
"testing" "testing"
kv "github.com/strimertul/kilovolt/v10" kv "github.com/strimertul/kilovolt/v11"
"go.uber.org/zap/zaptest" "go.uber.org/zap/zaptest"
) )

4
go.mod
View file

@ -13,7 +13,7 @@ require (
github.com/json-iterator/go v1.1.12 github.com/json-iterator/go v1.1.12
github.com/nicklaw5/helix/v2 v2.25.2 github.com/nicklaw5/helix/v2 v2.25.2
github.com/postfinance/single v0.0.2 github.com/postfinance/single v0.0.2
github.com/strimertul/kilovolt/v10 v10.0.0 github.com/strimertul/kilovolt/v11 v11.0.0
github.com/strimertul/kv-pebble v1.2.2 github.com/strimertul/kv-pebble v1.2.2
github.com/urfave/cli/v2 v2.25.7 github.com/urfave/cli/v2 v2.25.7
github.com/wailsapp/wails/v2 v2.6.0 github.com/wailsapp/wails/v2 v2.6.0
@ -71,6 +71,7 @@ require (
github.com/samber/lo v1.38.1 // indirect github.com/samber/lo v1.38.1 // indirect
github.com/shopspring/decimal v1.3.1 // indirect github.com/shopspring/decimal v1.3.1 // indirect
github.com/spf13/cast v1.5.1 // indirect github.com/spf13/cast v1.5.1 // indirect
github.com/strimertul/kilovolt/v10 v10.0.0 // indirect
github.com/tkrajina/go-reflector v0.5.6 // indirect github.com/tkrajina/go-reflector v0.5.6 // indirect
github.com/valyala/bytebufferpool v1.0.0 // indirect github.com/valyala/bytebufferpool v1.0.0 // indirect
github.com/valyala/fasttemplate v1.2.2 // indirect github.com/valyala/fasttemplate v1.2.2 // indirect
@ -84,4 +85,5 @@ require (
golang.org/x/sys v0.13.0 // indirect golang.org/x/sys v0.13.0 // indirect
golang.org/x/text v0.13.0 // indirect golang.org/x/text v0.13.0 // indirect
google.golang.org/protobuf v1.31.0 // indirect google.golang.org/protobuf v1.31.0 // indirect
nhooyr.io/websocket v1.8.10 // indirect
) )

4
go.sum
View file

@ -157,6 +157,8 @@ github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/
github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk= github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk=
github.com/strimertul/kilovolt/v10 v10.0.0 h1:VGUFZ1/s4IDAYp9kqZQosoelRqXA/cN2JP41BgLc4yQ= github.com/strimertul/kilovolt/v10 v10.0.0 h1:VGUFZ1/s4IDAYp9kqZQosoelRqXA/cN2JP41BgLc4yQ=
github.com/strimertul/kilovolt/v10 v10.0.0/go.mod h1:lB+aF6VpoMfxkK+DFVzIB9yOW0nNaZOtFt395Cf+Hyk= github.com/strimertul/kilovolt/v10 v10.0.0/go.mod h1:lB+aF6VpoMfxkK+DFVzIB9yOW0nNaZOtFt395Cf+Hyk=
github.com/strimertul/kilovolt/v11 v11.0.0 h1:vQc0vd5hz4oyX+/XEnGQvtgWmm75jcVmbbsQXPHoFvg=
github.com/strimertul/kilovolt/v11 v11.0.0/go.mod h1:PjhGVWb74lB8dXSGWA7GmVSbZAoGV/WGGmjS2Zz/UBg=
github.com/strimertul/kv-pebble v1.2.2 h1:/vV8a1gObO4os3gB3NT9GWAmWbi+VsSS7wvb6G+HOzM= github.com/strimertul/kv-pebble v1.2.2 h1:/vV8a1gObO4os3gB3NT9GWAmWbi+VsSS7wvb6G+HOzM=
github.com/strimertul/kv-pebble v1.2.2/go.mod h1:I6VvL0/UXW007BEEf1liHYKZcKqQypRt+9pxJkbmvZQ= github.com/strimertul/kv-pebble v1.2.2/go.mod h1:I6VvL0/UXW007BEEf1liHYKZcKqQypRt+9pxJkbmvZQ=
github.com/tkrajina/go-reflector v0.5.6 h1:hKQ0gyocG7vgMD2M3dRlYN6WBBOmdoOzJ6njQSepKdE= github.com/tkrajina/go-reflector v0.5.6 h1:hKQ0gyocG7vgMD2M3dRlYN6WBBOmdoOzJ6njQSepKdE=
@ -262,3 +264,5 @@ gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
nhooyr.io/websocket v1.8.10 h1:mv4p+MnGrLDcPlBoWsvPP7XCzTYMXP9F9eIGoKbgx7Q=
nhooyr.io/websocket v1.8.10/go.mod h1:rN9OFWIUwuxg4fR5tELlYC04bXYowCP9GX47ivo2l+c=

View file

@ -13,7 +13,7 @@ import (
"git.sr.ht/~hamcha/containers/sync" "git.sr.ht/~hamcha/containers/sync"
jsoniter "github.com/json-iterator/go" jsoniter "github.com/json-iterator/go"
kv "github.com/strimertul/kilovolt/v10" kv "github.com/strimertul/kilovolt/v11"
"go.uber.org/zap" "go.uber.org/zap"
"github.com/strimertul/strimertul/database" "github.com/strimertul/strimertul/database"