创建类型

如果使用尚未定义的结构类型,您可以按 &shortcut:ShowIntentionActions; 并应用 创建类型 快速修复。GoLand 将生成一个包含所有必要字段的结构。

Creating types that are not yet defined