godownloadutube

command module
v0.0.0-...-6056a1e Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

README

godownloadutube

Build Application from source cdoe using

$go build -o ./dist/utubedownloader -ldflags="-X 'github.com/bashirahmedd/godownloadutube/cmd/utube.version=0.0.2'" main.go

golang environment on Ubuntu OS

naji@E6400:~/go/bin$ go version go version go1.17.2 linux/amd64

naji@E6400:~/go/bin$ ./dlv version Delve Debugger Version: 1.9.1

VS Code Extension:

Name: Go Id: golang.go Description: Rich Go language support for Visual Studio Code Version: 0.35.2 Publisher: Go Team at Google

Package used

$go get github.com/spf13/viper
$go get github.com/kkdai/youtube/v2 $go get github.com/ilyakaznacheev/cleanenv (used and removed, too simple) $go get github.com/spf13/cobra/cobra

Further help:

https://code.visualstudio.com/docs/editor/debugging https://thorsten-hans.com/lets-build-a-cli-in-go-with-cobra/

To add module

$ go mod init utube-downloader (initialize local new module) $ go get github.com/spf13/viper (add package to the module) $ go mod tidy (removes unused Package) $ go mod vendor (removes inconsistency )

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
cmd
pkg

Jump to

Keyboard shortcuts

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