go-zero icon indicating copy to clipboard operation
go-zero copied to clipboard

feat(tsgen): tsgen export buildTypes function

Open jaronnie opened this issue 1 year ago • 2 comments
trafficstars

jaronnie avatar Jun 19 '24 08:06 jaronnie

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

see 255 files with indirect coverage changes

codecov[bot] avatar Jun 19 '24 08:06 codecov[bot]

Why to export it? Would you please describe it in details?

kevwan avatar Jun 21 '24 11:06 kevwan

image

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
}

jaronnie avatar Jul 14 '24 09:07 jaronnie