go-zero
go-zero copied to clipboard
feat(tsgen): tsgen export buildTypes function
trafficstars
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 95.13%. Comparing base (
8690859) to head (5b569e1). Report is 69 commits behind head on master.
Additional details and impacted files
Why to export it? Would you please describe it in details?
Because I want to generate typescript sdk by api file, need generate ts model by this function.
export interface Empty {
}
export interface GetVersionResponse {
version: string
goVersion: string
commit: string
date: string
}