我正在研究 go 模板。有了一些地圖,.我知道如何獲得價值,只要我知道鑰匙。"Map value: {{ printf "%s" .key1 }}"如何從模板中獲取鍵名?我希望可能是這樣的"Map key: {{ printf "%s" (keys .)[0] }}" 查看完整描述