Skip to content

Latest commit

 

History

History
38 lines (23 loc) · 364 Bytes

README.md

File metadata and controls

38 lines (23 loc) · 364 Bytes

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']
+++

`