Skip to content

Commit

Permalink
initial commit - rough version
Browse files Browse the repository at this point in the history
  • Loading branch information
Parth576 committed Feb 11, 2021
0 parents commit 7bf8851
Show file tree
Hide file tree
Showing 5 changed files with 491 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# ytplay
27 changes: 27 additions & 0 deletions colors/colors.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
package colors

import "runtime"

var Reset = "\033[0m"
var Red = "\033[31m"
var Green = "\033[32m"
var Yellow = "\033[33m"
var Blue = "\033[34m"
var Purple = "\033[35m"
var Cyan = "\033[36m"
var Gray = "\033[37m"
var White = "\033[97m"

func init() {
if runtime.GOOS == "windows" {
Reset = ""
Red = ""
Green = ""
Yellow = ""
Blue = ""
Purple = ""
Cyan = ""
Gray = ""
White = ""
}
}
5 changes: 5 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
module github.com/Parth576/ytplay

go 1.15

require github.com/spf13/viper v1.7.1
Loading

0 comments on commit 7bf8851

Please sign in to comment.