jzero-io / jzero

Used to create project from templates and generate Server/Client code by proto and api file.
https://jzero.jaronnie.com/
MIT License
33 stars 2 forks source link

当 api 返回的类型为非 api type. e.g. string, gen sdk 有问题 #19

Closed jaronnie closed 3 weeks ago

jaronnie commented 3 weeks ago

// API /api/v1/network/dns/edit "DNS 设置" EditHandler(ctx context.Context,param types.EditNetworkDNSRequest) ([]types.string, error)

期望 : EditHandler(ctx context.Context,param *types.EditNetworkDNSRequest) (string, error)