From 9bdbf3f164d8921f1a6aae9671649bfede9266f1 Mon Sep 17 00:00:00 2001 From: klim0v Date: Sat, 16 May 2020 02:44:54 +0300 Subject: [PATCH] fix go dev docs --- api/grpc_client/doc.go | 4 +--- transaction/deeplink_example_test.go | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/api/grpc_client/doc.go b/api/grpc_client/doc.go index ed43b73..8a1e9fb 100644 --- a/api/grpc_client/doc.go +++ b/api/grpc_client/doc.go @@ -1,8 +1,7 @@ /* This package is used to call gRPC methods here https://pkg.go.dev/github.com/MinterTeam/node-grpc-gateway@v1.1.1/api_pb?tab=doc. - - Examples + Examples: client := grpc_client.New(grpcAddress) statusResponse, _ := client.Status() @@ -63,7 +62,6 @@ fmt.Printf("%#v\n", recv) } - */ package grpc_client diff --git a/transaction/deeplink_example_test.go b/transaction/deeplink_example_test.go index 861dc04..1d9b167 100644 --- a/transaction/deeplink_example_test.go +++ b/transaction/deeplink_example_test.go @@ -21,7 +21,7 @@ func ExampleNewDeepLink() { // -DsBqumKQklQAAAAAAAAAJQYRnu7ZKjt-JAgHVJsNZV9gr49lYgRIhD0do20AItIZWxsbyBXb3JsZICAgA } -func ExampleNewDeepLink_createLink() { +func ExampleDeepLink_CreateLink() { link, _ := transaction.NewDeepLink( transaction.NewSendData(). MustSetTo("Mx7633980c000139dd3bd24a3f54e06474fa941e16").