1234567891011121314151617181920 |
- // Copyright 2019 getensh.com. All rights reserved.
- // Use of this source code is governed by getensh.com.
- package tests
- import (
- "context"
- v2 "adm-task/pb/v2"
- "testing"
- )
- func Test_HelloV2(t *testing.T) {
- r, err := client.SayHelloV2(context.Background(), &v2.HelloRequest{Name: "world"})
- if err == nil {
- d, _ := json.Marshal(r)
- t.Log(string(d))
- } else {
- t.Error("failed to call: ", err)
- }
- }
|