content

package
v0.0.0-...-1ac4f16 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConstructPath

func ConstructPath(content Content, contentDirPath string) string

ConstructPath constructs path for a single document topic

Types

type Content

type Content struct {
	Name      string `yaml:"name"`
	Directory string `yaml:"directory"`
}

Content represents a single document topic

func Read

func Read(path string) ([]Content, error)

Read reads documents from yaml file

Jump to

Keyboard shortcuts

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