matter
TOML Frontmatter or Endmatter unMarshaller.
func Unmarshal(b []byte, v interface{}) (content []byte, err error)
Either input will work fine:
var inputFront = `
+++
name = "frontmatter"
tags = ['input', 'front']
+++
Matter first.
`
var inputEnd = `
Content first.
+++
name = "endmatter"
tags = ['input', 'end']
+++
`