parser

package
Version: v0.88.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 4, 2021 License: Apache-2.0 Imports: 10 Imported by: 104

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InterfaceToConfig

func InterfaceToConfig(in interface{}, format metadecoders.Format, w io.Writer) error

func InterfaceToFrontMatter

func InterfaceToFrontMatter(in interface{}, format metadecoders.Format, w io.Writer) error

Types

type LowerCaseCamelJSONMarshaller added in v0.60.0

type LowerCaseCamelJSONMarshaller struct {
	Value interface{}
}

Code adapted from https://gist.github.com/piersy/b9934790a8892db1a603820c0c23e4a7

func (LowerCaseCamelJSONMarshaller) MarshalJSON added in v0.60.0

func (c LowerCaseCamelJSONMarshaller) MarshalJSON() ([]byte, error)

Directories

Path Synopsis
Package pageparser provides a parser for Hugo content files (Markdown, HTML etc.) in Hugo.
Package pageparser provides a parser for Hugo content files (Markdown, HTML etc.) in Hugo.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL