cmd

package
v0.0.0-...-25d6cba Latest Latest
Warning

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

Go to latest
Published: May 25, 2019 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute()

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 GetJson

func GetJson(apicall string, movieName string) string
func GetMovieLinks(url string) []string

func IsArabicMovie

func IsArabicMovie(searchTerm string) bool

Types

type MovieQuality

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

type Query

type Query struct {
	Movies []struct {
		Title string `json:"t"`
		URL   string `json:"u"`
	} `json:"results"`
}

func QuerySite

func QuerySite(searchTerm string) *Query

Jump to

Keyboard shortcuts

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