Documentation
¶
Index ¶
- Constants
- func Bad(message string)
- func ConvertToMp3(video string, ext string)
- func DownloadVideo(vf VideoFlag)
- func Execute(pathExec string, args []string) (string, error)
- func GetBody(urlVideo string) (string, error)
- func Good(message string)
- func Info(message string)
- func Printerr(err error, fromwhere string)
- func Que(message string)
- func Run(message string)
- func Say(color, message string)
- func SayMe(color, message string) string
- type VideoFlag
Constants ¶
View Source
const ( RESET = "\033[0m" START = "\033[%sm" ORANGE = "33" GREEN = "32" LIGHTGREEN = "92" GREY = "37" BLACK = "30" RED = "31" LIGHTRED = "91" CYAN = "36" LIGHTCYAN = "96" BLUE = "34" LIGHTBLUE = "94" PURPLE = "35" YELLOW = "93" WHITE = "97" LIGHTPURPLE = "95" INFO = "[!] " QUE = "[?] " BAD = "[-] " GOOD = "[+] " RUN = "[~] " BG = ";7" BOLD = ";1" ITALIC = "3" UNDER = "4" STRIKE = "09" )
All the const are defined for what they do!
View Source
const (
VIDINFO = "https://youtube.com/get_video_info?video_id="
)
Video information
Variables ¶
This section is empty.
Functions ¶
func ConvertToMp3 ¶
ConvertToMp3 convert the video given to mp3 format using ffmpeg
Types ¶
Click to show internal directories.
Click to hide internal directories.