Skip to content

Commit

Permalink
rename
Browse files Browse the repository at this point in the history
  • Loading branch information
Jesse Schmidt committed Jun 19, 2024
1 parent b49c66b commit 260d06f
Show file tree
Hide file tree
Showing 15 changed files with 19 additions and 27 deletions.
2 changes: 1 addition & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ linters-settings:
allow:
- $gostd
- github.com/aerospike/tools-common-go
- github.com/aerospike/aerospike-proximus-client-go
- github.com/aerospike/avs-client-go
- asvec/cmd
- github.com/spf13/cobra
- github.com/spf13/viper
Expand Down
4 changes: 2 additions & 2 deletions cmd/createIndex.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ import (
"strings"
"time"

avs "github.com/aerospike/aerospike-proximus-client-go"
"github.com/aerospike/aerospike-proximus-client-go/protos"
avs "github.com/aerospike/avs-client-go"
"github.com/aerospike/avs-client-go/protos"
commonFlags "github.com/aerospike/tools-common-go/flags"
"github.com/spf13/cobra"
"github.com/spf13/pflag"
Expand Down
2 changes: 1 addition & 1 deletion cmd/dropIndex.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"log/slog"
"time"

avs "github.com/aerospike/aerospike-proximus-client-go"
avs "github.com/aerospike/avs-client-go"
commonFlags "github.com/aerospike/tools-common-go/flags"
"github.com/spf13/cobra"
"github.com/spf13/pflag"
Expand Down
2 changes: 1 addition & 1 deletion cmd/flags/distanceMetric.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"slices"
"strings"

"github.com/aerospike/aerospike-proximus-client-go/protos"
"github.com/aerospike/avs-client-go/protos"

Check failure on line 8 in cmd/flags/distanceMetric.go

View workflow job for this annotation

GitHub Actions / tests

github.com/aerospike/avs-client-go@v0.0.0-20240509004238-aa3172c86d65: replacement directory /Users/jesseschmidt/Developer/avs-client-go does not exist
)

type DistanceMetricFlag string
Expand Down
2 changes: 1 addition & 1 deletion cmd/flags/hostPort.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"strconv"
"strings"

avs "github.com/aerospike/aerospike-proximus-client-go"
avs "github.com/aerospike/avs-client-go"

Check failure on line 9 in cmd/flags/hostPort.go

View workflow job for this annotation

GitHub Actions / tests

github.com/aerospike/avs-client-go@v0.0.0-20240509004238-aa3172c86d65: replacement directory /Users/jesseschmidt/Developer/avs-client-go does not exist
)

const (
Expand Down
2 changes: 1 addition & 1 deletion cmd/flags/hostPort_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ package flags
import (
"testing"

avs "github.com/aerospike/aerospike-proximus-client-go"
avs "github.com/aerospike/avs-client-go"

"github.com/stretchr/testify/suite"
)
Expand Down
4 changes: 2 additions & 2 deletions cmd/listIndex.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ import (
"sync"
"time"

avs "github.com/aerospike/aerospike-proximus-client-go"
"github.com/aerospike/aerospike-proximus-client-go/protos"
avs "github.com/aerospike/avs-client-go"
"github.com/aerospike/avs-client-go/protos"
commonFlags "github.com/aerospike/tools-common-go/flags"
"github.com/spf13/cobra"
"github.com/spf13/pflag"
Expand Down
2 changes: 1 addition & 1 deletion cmd/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"encoding/pem"
"fmt"

avs "github.com/aerospike/aerospike-proximus-client-go"
avs "github.com/aerospike/avs-client-go"
)

func newTLSConfig(rootCA [][]byte, cert []byte, key []byte, keyPass []byte, tlsProtoMin int, tlsProtoMax int) (*tls.Config, error) {
Expand Down
2 changes: 1 addition & 1 deletion cmd/utils_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"asvec/cmd/flags"
"testing"

avs "github.com/aerospike/aerospike-proximus-client-go"
avs "github.com/aerospike/avs-client-go"
"github.com/stretchr/testify/assert"
)

Expand Down
2 changes: 1 addition & 1 deletion cmd/view.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"io"
"log/slog"

"github.com/aerospike/aerospike-proximus-client-go/protos"
"github.com/aerospike/avs-client-go/protos"
)

type View struct {
Expand Down
2 changes: 1 addition & 1 deletion cmd/writers/indexList.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"io"
"log/slog"

"github.com/aerospike/aerospike-proximus-client-go/protos"
"github.com/aerospike/avs-client-go/protos"
"github.com/jedib0t/go-pretty/v6/table"
)

Expand Down
4 changes: 2 additions & 2 deletions e2e_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ import (
"testing"
"time"

avs "github.com/aerospike/aerospike-proximus-client-go"
"github.com/aerospike/aerospike-proximus-client-go/protos"
avs "github.com/aerospike/avs-client-go"
"github.com/aerospike/avs-client-go/protos"
"github.com/stretchr/testify/suite"
)

Expand Down
6 changes: 3 additions & 3 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ module asvec

go 1.21.7

// replace github.com/aerospike/aerospike-proximus-client-go => /Users/jesseschmidt/Developer/aerospike-proximus-client-go
replace github.com/aerospike/avs-client-go => /Users/jesseschmidt/Developer/avs-client-go

// replace github.com/aerospike/tools-common-go => /Users/jesseschmidt/Developer/tools-common-go
replace github.com/aerospike/tools-common-go => /Users/jesseschmidt/Developer/tools-common-go

require (
github.com/aerospike/aerospike-proximus-client-go v0.0.0-20240618165139-d1f0bb1968a5
github.com/aerospike/avs-client-go v0.0.0-20240509004238-aa3172c86d65
github.com/aerospike/tools-common-go v0.0.0-20240618165632-595098741f89
github.com/jedib0t/go-pretty/v6 v6.5.9
github.com/spf13/cobra v1.8.0
Expand Down
8 changes: 0 additions & 8 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,6 @@ github.com/Microsoft/go-winio v0.6.2 h1:F2VQgta7ecxGYO8k3ZZz3RS8fVIXVxONVUPlNERo
github.com/Microsoft/go-winio v0.6.2/go.mod h1:yd8OoFMLzJbo9gZq8j5qaps8bJ9aShtEA8Ipt1oGCvU=
github.com/aerospike/aerospike-client-go/v7 v7.4.0 h1:g8/7v8RHhQhTArhW3C7Au7o+u8j8x5eySZL6MXfpHKU=
github.com/aerospike/aerospike-client-go/v7 v7.4.0/go.mod h1:pPKnWiS8VDJcH4IeB1b8SA2TWnkjcVLHwAAJ+BHfGK8=
github.com/aerospike/aerospike-proximus-client-go v0.0.0-20240603230632-86a0ebaa8aa9 h1:qVpPCrbp0pNNmP1CPqln6HkzhVmFmOOVZYLq4IDlidI=
github.com/aerospike/aerospike-proximus-client-go v0.0.0-20240603230632-86a0ebaa8aa9/go.mod h1:N0kxd4FoYDbLOEwm8vWH6wKUkoR5v0Wp/v0+tUqoUMg=
github.com/aerospike/aerospike-proximus-client-go v0.0.0-20240618165139-d1f0bb1968a5 h1:OfqJsUs8T8DaYqDLyZwXDY55FvWtyVybbm2mc3Pi+1s=
github.com/aerospike/aerospike-proximus-client-go v0.0.0-20240618165139-d1f0bb1968a5/go.mod h1:N0kxd4FoYDbLOEwm8vWH6wKUkoR5v0Wp/v0+tUqoUMg=
github.com/aerospike/tools-common-go v0.0.0-20240425222921-596724ec5926 h1:CqkNasGC/7x5JvYjCSuAVX/rG+nUgRQtXfxIURXo5OE=
github.com/aerospike/tools-common-go v0.0.0-20240425222921-596724ec5926/go.mod h1:Ig1lRynXx0tXNOY3MdtanTsKz1ifG/2AyDFMXn3RMTc=
github.com/aerospike/tools-common-go v0.0.0-20240618165632-595098741f89 h1:5rYc5QsaQeAnSzUm30gOUANEIEsMS8knbnjouenRV7E=
github.com/aerospike/tools-common-go v0.0.0-20240618165632-595098741f89/go.mod h1:Ig1lRynXx0tXNOY3MdtanTsKz1ifG/2AyDFMXn3RMTc=
github.com/cpuguy83/go-md2man/v2 v2.0.3/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
Expand Down
2 changes: 1 addition & 1 deletion test_utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

package main

import "github.com/aerospike/aerospike-proximus-client-go/protos"
import "github.com/aerospike/avs-client-go/protos"

func getStrPtr(str string) *string {
ptr := str
Expand Down

0 comments on commit 260d06f

Please sign in to comment.