Back to

Package cmd

Latest Go to latest

The highest tagged major version is .

Published: Aug 13, 2018 | License: MIT | Module:



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

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

Package Files

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier