我正在研究 go 模板。有了一些地图,.我知道如何获得价值,只要我知道钥匙。"Map value: {{ printf "%s" .key1 }}"如何从模板中获取键名?我希望可能是这样的"Map key: {{ printf "%s" (keys .)[0] }}" 查看完整描述