Skip to content

Release 2.2.0

Choose a tag to compare

@deankarn deankarn released this 13 Nov 04:56
6bc20ce

What was added?

Added map key support with new keys and endkeys eg.

type Test struct {
  Map map[string]string `mold:"dive,keys,trim,endkeys,trim"`
}

keys must be directly after the dive tag; this was done for efficiency to allow map keys and values to be br handled within the same range.