Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
| ... | ... |
@@ -134,7 +134,9 @@ type StringList []string |
| 134 | 134 |
type StringOrNumberList []string |
| 135 | 135 |
|
| 136 | 136 |
// MappingWithEquals is a mapping type that can be converted from a list of |
| 137 |
-// key=value strings |
|
| 137 |
+// key[=value] strings. |
|
| 138 |
+// For the key with an empty value (`key=`), the mapped value is set to a pointer to `""`. |
|
| 139 |
+// For the key without value (`key`), the mapped value is set to nil. |
|
| 138 | 140 |
type MappingWithEquals map[string]*string |
| 139 | 141 |
|
| 140 | 142 |
// Labels is a mapping type for labels |