Version: v0.0.5 Latest Latest

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

Go to latest
Published: Aug 13, 2018 License: MIT Imports: 22 Imported by: 0




This section is empty.


View Source
var VERSION string

VERSION is set during build


func Execute

func Execute(ver string)

Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

func NewApp

func NewApp() *gin.Engine

func SlidePath

func SlidePath(name string) string


type Bio added in v0.0.3

type Bio struct {
	Name     string
	Bio      string
	ShortBio string
	Links    string
	Images   []string

type Slide

type Slide struct {
	Date         string
	EventName    string
	EventURL     string
	VideoURL     string
	MarkdownFile string
	HTMLFile     string
	Title        string
	Image        string
	ImageAlt     string
	Source       string
	Twitter      string

Slide represents a slide deck and its metadata

func FromReader

func FromReader(r io.Reader) (*Slide, error)

FromReader creates a slide from an io.Reader

func (*Slide) Process

func (s *Slide) Process()

Process runs macros and sets struct fields for metadata

Jump to

Keyboard shortcuts

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