acmpesuecc / acmpesuecc/zaprpc

feat(api): add codegen for typed client

Đang mở
#8 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
bounty 1500 enhancement
Ngôn ngữ chính
Go
Star
0
Fork
5
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

## Description

Introduce a codegen layer to produce typed Service clients wrapping over `Client` from regular structs to be registered on the server.

## Expected Work

- Use `go generate` and `text/template` to produce a file with typed Go clients that can talk to the registered service on the server
- The client methods closely mimic the `Zap` method
- Add tests using the `testing` package

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.