slides

package
v0.0.0-...-9ace066 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GoogleSlides

type GoogleSlides struct {
	// contains filtered or unexported fields
}

func NewGoogleSlides

func NewGoogleSlides(logger logger.Logger, slideService *slides.Service) GoogleSlides

func (*GoogleSlides) GetAllText

func (g *GoogleSlides) GetAllText(ctx context.Context, slidesID string) ([]TextOnSlide, error)

GetLinks iterates through all text objects in slides, retrieve the link data within it

func (*GoogleSlides) UpdateText

func (g *GoogleSlides) UpdateText(ctx context.Context, slidesID string, textReplaceRequest []TextOnSlideReplacer) error

type TextOnSlide

type TextOnSlide struct {
	SlidePageID string `yaml:"slide_page_id"`
	Text        string `yaml:"text"`
}

func FilterForURLs

func FilterForURLs(items []TextOnSlide) []TextOnSlide

FilterForURLs - DO NOT USE

type TextOnSlideReplacer

type TextOnSlideReplacer struct {
	SlidePageID string `yaml:"slide_page_id"`
	Text        string `yaml:"text"`
	ReplaceText string `yaml:"replace_text"`
}

Jump to

Keyboard shortcuts

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