mirror of
https://github.com/zeromicro/go-zero.git
synced 2026-05-10 16:30:01 +08:00
(goctl): fix nested struct generation (#4281)
This commit is contained in:
@@ -105,6 +105,13 @@ type (
|
||||
Docs Doc
|
||||
}
|
||||
|
||||
// NestedStruct describes a structure nested in structure.
|
||||
NestedStruct struct {
|
||||
RawName string
|
||||
Members []Member
|
||||
Docs Doc
|
||||
}
|
||||
|
||||
// PrimitiveType describes the basic golang type, such as bool,int32,int64, ...
|
||||
PrimitiveType struct {
|
||||
RawName string
|
||||
|
||||
Reference in New Issue
Block a user