12345678910111213141516171819 |
- // Copyright 2019 getensh.com. All rights reserved.
- // Use of this source code is governed by getensh.com.
- package tests
- import (
- v1 "adm-gateway/pb/v1"
- "testing"
- jsoniter "github.com/json-iterator/go"
- )
- var json = jsoniter.ConfigCompatibleWithStandardLibrary
- func Test_HelloV1(t *testing.T) {
- hello := v1.HelloRequest{Name: "Jackson Wall"}
- s, _ := json.MarshalToString(hello)
- t.Log(s)
- }
|