Skip to content

gotamer/matter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

`