mirror of
https://github.com/zeromicro/go-zero.git
synced 2026-05-11 00:40:00 +08:00
feat(tsgen): tsgen export buildTypes function (#4197)
This commit is contained in:
@@ -62,3 +62,7 @@ func buildTypes(types []spec.Type) (string, error) {
|
|||||||
|
|
||||||
return builder.String(), nil
|
return builder.String(), nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func BuildTypes(types []spec.Type) (string, error) {
|
||||||
|
return buildTypes(types)
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user