From 94edf043563ed65318b376a8895734b438e135ad Mon Sep 17 00:00:00 2001 From: Alexander Neonxp Kiryukhin Date: Tue, 10 Dec 2024 23:18:15 +0300 Subject: Новый путь MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 10 +++++----- go.mod | 2 ++ 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index b0a18ea..e6c56ba 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ Go 1.18+ required 1. Create JSON-RPC server with options: ```go - import "go.neonxp.ru/jsonrpc2/rpc" + import "neonxp.ru/go/jsonrpc2/rpc" ... s := rpc.New( rpc.WithTransport(&transport.HTTP{ @@ -32,7 +32,7 @@ Go 1.18+ required 2. Add required transport(s): ```go - import "go.neonxp.ru/jsonrpc2/transport" + import "neonxp.ru/go/jsonrpc2/transport" ... s.Use( rpc.WithTransport(&transport.TCP{Bind: ":3000"}), @@ -91,9 +91,9 @@ package main import ( "context" - "go.neonxp.ru/jsonrpc2/rpc" - "go.neonxp.ru/jsonrpc2/rpc/middleware" - "go.neonxp.ru/jsonrpc2/transport" + "neonxp.ru/go/jsonrpc2/rpc" + "neonxp.ru/go/jsonrpc2/rpc/middleware" + "neonxp.ru/go/jsonrpc2/transport" ) func main() { diff --git a/go.mod b/go.mod index 4f8debc..a18d7e9 100644 --- a/go.mod +++ b/go.mod @@ -8,3 +8,5 @@ require ( ) require github.com/qri-io/jsonpointer v0.1.1 // indirect + +replace go.neonxp.ru/jsonrpc2 latest => neonxp.ru/go/jsonrpc2 latest -- cgit v1.2.3