feat: import services and standardize Go 1.26.5

This commit is contained in:
2026-08-09 10:43:45 +08:00
parent 689c74b28f
commit 86024fa81d
1456 changed files with 220765 additions and 2 deletions

View File

@@ -0,0 +1,23 @@
//go:build integration
package rpc
import (
"fmt"
"testing"
pb "git.apinb.com/bsm-ec/order/pb"
)
func TestByStatus(t *testing.T) {
coon, ctx := GetCoon()
clent := pb.NewCouponClient(coon)
defer coon.Close()
res, err := clent.ByStatus(ctx, &pb.Status{
Status: 1,
})
if err != nil {
fmt.Println(err)
}
fmt.Printf("返回的测试消息: %s", res)
}