utils

package
v0.0.0-...-34674f1 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2020 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Copy

func Copy(dst interface{}, src interface{}) (err error)

func Domain

func Domain(url string) (domain string)

func ExtractVideoID

func ExtractVideoID(u *url.URL) string

GetVideoInfoFromShortURL fetches video info from a short youtube url

func ExtractVideoInfo

func ExtractVideoInfo(u *url.URL) (id string, kind string)

func GetFileSize

func GetFileSize(url string) (size int64, err error)

func LanguageDisplay

func LanguageDisplay(lang string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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