handlers

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2024 License: MIT Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadPosts

func LoadPosts()

func Setup

func Setup()

Types

type About

type About struct {
	Id    string
	Value string
	Url   string
	Icon  string
}

type Post

type Post struct {
	Meta    PostMeta
	Content template.HTML
}

type PostMeta

type PostMeta struct {
	Title       string
	Slug        string
	Description string
	Author      string
	Language    string
	PublishDate time.Time
	UpdatedDate time.Time
	Tags        []string
}

func MapToPostMeta

func MapToPostMeta(m map[string]interface{}) (PostMeta, error)

type Service

type Service struct {
	Name        string
	Slug        string
	Description string
	Url         string
	InfoUrl     string
	Color       string
	Scale       float64
}

Jump to

Keyboard shortcuts

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