batch

package
v0.0.0-...-3d1b5a8 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TweetForecastRun

func TweetForecastRun(api twitter.IApiClient, pairs []Pair) error

Types

type Pair

type Pair struct {
	First  string `yaml:"first"`
	Second string `yaml:"second"`
}

func NewPair

func NewPair(first, second string) Pair

type TweetContentCreater

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

func NewTweetContentCreater

func NewTweetContentCreater(snowForecastApiClient snowforecast.IApiClient) TweetContentCreater

func (TweetContentCreater) TweetContent

func (c TweetContentCreater) TweetContent(pair Pair) (string, error)

type TweetForecast

type TweetForecast struct {
	Api         twitter.IApiClient
	SnowResorts Pair
}

func (TweetForecast) Run

func (t TweetForecast) Run()

Jump to

Keyboard shortcuts

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