mirror of
https://github.com/zeromicro/go-zero.git
synced 2026-05-07 15:10:01 +08:00
(goctl): fix map conversion (#4306)
This commit is contained in:
@@ -78,7 +78,7 @@ func (a *Analyzer) astTypeToSpec(in ast.DataType) (spec.Type, error) {
|
||||
|
||||
return spec.MapType{
|
||||
RawName: v.RawText(),
|
||||
Key: v.RawText(),
|
||||
Key: v.Key.RawText(),
|
||||
Value: value,
|
||||
}, nil
|
||||
case *ast.PointerDataType:
|
||||
|
||||
Reference in New Issue
Block a user