Skip to content
This repository has been archived by the owner on Dec 23, 2024. It is now read-only.

Commit

Permalink
fix go mod
Browse files Browse the repository at this point in the history
  • Loading branch information
maxim-konovalov committed Feb 22, 2024
1 parent 93ee01d commit d5b38d8
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Go VShard Router
Translations:
- [Русский](https://github.com/KaymeKaydex/go-vhsard-router/blob/main/README_ru.md)
- [Русский](https://github.com/KaymeKaydex/go-vshard-router/blob/main/README_ru.md)


go-vshard-router is a library for sending requests to a sharded tarantool cluster directly,
Expand Down Expand Up @@ -62,14 +62,14 @@ graph TD
With [Go module](https://github.com/golang/go/wiki/Modules) support, simply add the following import

```
import "github.com/KaymeKaydex/go-vhsard-router"
import "github.com/KaymeKaydex/go-vshard-router"
```
to your code, and then `go [build|run|test]` will automatically fetch the necessary dependencies.

Otherwise, run the following Go command to install the `go-vshard-router` package:

```sh
$ go get -u github.com/KaymeKaydex/go-vhsard-router
$ go get -u github.com/KaymeKaydex/go-vshard-router
```

### Running Go-Vshard-Router
Expand All @@ -85,7 +85,7 @@ import (
"strconv"
"time"

vshardrouter "github.com/KaymeKaydex/go-vhsard-router"
vshardrouter "github.com/KaymeKaydex/go-vshard-router"
"github.com/google/uuid"
"github.com/tarantool/go-tarantool/v2"
"github.com/tarantool/go-tarantool/v2/pool"
Expand Down
8 changes: 4 additions & 4 deletions README_ru.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Go VShard Router
Translations:
- [English](https://github.com/KaymeKaydex/go-vhsard-router/blob/main/README.md)
- [English](https://github.com/KaymeKaydex/go-vshard-router/blob/main/README.md)

go-vshard-router — библиотека для отправки запросов напрямую в стораджа в шардированный кластер tarantool,
без использования tarantool-router. go-vshard-router применяет новый подход к созданию кластера
Expand Down Expand Up @@ -62,14 +62,14 @@ graph TD
С помощью [Go module](https://github.com/golang/go/wiki/Modules) можно добавить следующий импорт

```
import "github.com/KaymeKaydex/go-vhsard-router"
import "github.com/KaymeKaydex/go-vshard-router"
```
в ваш код, а затем `go [build|run|test]` автоматически получит необходимые зависимости.


В противном случае выполните следующую команду Go, чтобы установить пакет go-vshard-router:
```sh
$ go get -u github.com/KaymeKaydex/go-vhsard-router
$ go get -u github.com/KaymeKaydex/go-vshard-router
```

### Использование Go-Vshard-Router
Expand All @@ -85,7 +85,7 @@ import (
"strconv"
"time"

vshardrouter "github.com/KaymeKaydex/go-vhsard-router"
vshardrouter "github.com/KaymeKaydex/go-vshard-router"
"github.com/google/uuid"
"github.com/tarantool/go-tarantool/v2"
"github.com/tarantool/go-tarantool/v2/pool"
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/KaymeKaydex/go-vhsard-router
module github.com/KaymeKaydex/go-vshard-router

go 1.20

Expand Down

0 comments on commit d5b38d8

Please sign in to comment.