Documentation
¶
Index ¶
Constants ¶
View Source
const (
DefaultMode = 0644
)
Variables ¶
Functions ¶
func FileExists ¶
Types ¶
type LiveMD ¶
type LiveMD struct {
// TwitchID is the twitch id for the VOD
//
// This MUST be set for every livemd as we couple this
// software to Twitch.
//
//https://www.twitch.tv/videos/{{id}}
//https://dashboard.twitch.tv/u/{{channel}}/content/video-producer/edit/{{id}}
TwitchID string
TwitchChannel string
Title string
Notify string
Description string
// Subsystems
Links []*Link
Twitter string
// contains filtered or unexported fields
}
func (*LiveMD) CoalesceDateName ¶
CoalesceDateName will turn a title and today's date into a unix friendly name that can be used for file creation, and archiving.
h/t @mrxinu
func (*LiveMD) Render ¶
Render will render the markdown and return the content. Render will (by design) always template!
func (*LiveMD) TwitchEditPage ¶
func (*LiveMD) TwitchVideoPage ¶
Click to show internal directories.
Click to hide internal directories.