ydoc

package
v0.0.0-...-a7b3c09 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadRoutes

func LoadRoutes(app *gin.Engine)

func UnmarshalData

func UnmarshalData(datadoc DataDoc) map[string]interface{}

Types

type DataDoc

type DataDoc struct {
	Id        string    `yaml:"id"`
	Version   string    `yaml:"version"`
	Namespace string    `yaml:"namespace"`
	Modified  time.Time `yaml:"modified"`
	Template  string    `yaml:"template"`
	Data      string    `yaml:"content"`
}

Jump to

Keyboard shortcuts

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