At the time of writing ScanConfig the terminology for the "key" part of key-value pairs was... "key", but with the introduction of StringMapUnmarshal a synonym for "key" was introduced: a "field".
It seems, "field" sounds and describes the concept better... But in any case, without this discrepancy between terminology, the code will be easier to read.
At the time of writing
ScanConfigthe terminology for the "key" part of key-value pairs was... "key", but with the introduction ofStringMapUnmarshala synonym for "key" was introduced: a "field".It seems, "field" sounds and describes the concept better... But in any case, without this discrepancy between terminology, the code will be easier to read.