[+] add terminal output colors
This commit is contained in:
parent
301437b4ec
commit
7d3a086552
@ -1,5 +1,6 @@
|
||||
name: Build Action for Go
|
||||
on: [push]
|
||||
on:
|
||||
[workflow_dispatch]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
54
.gitignore
vendored
54
.gitignore
vendored
@ -1,3 +1,31 @@
|
||||
### Go template
|
||||
# If you prefer the allow list template instead of the deny list, see community template:
|
||||
# https://github.com/github/gitignore/blob/main/community/Golang/Go.AllowList.gitignore
|
||||
#
|
||||
# Binaries for programs and plugins
|
||||
*.exe
|
||||
*.exe~
|
||||
*.dll
|
||||
*.so
|
||||
*.dylib
|
||||
|
||||
# Test binary, built with `go test -c`
|
||||
*.test
|
||||
|
||||
# Output of the go coverage tool, specifically when used with LiteIDE
|
||||
*.out
|
||||
|
||||
# Dependency directories (remove the comment below to include it)
|
||||
# vendor/
|
||||
|
||||
# Go workspace file
|
||||
go.work
|
||||
go.work.sum
|
||||
|
||||
# env file
|
||||
.env
|
||||
|
||||
### macOS template
|
||||
# General
|
||||
.DS_Store
|
||||
.AppleDouble
|
||||
@ -25,28 +53,6 @@ Network Trash Folder
|
||||
Temporary Items
|
||||
.apdisk
|
||||
|
||||
# Binaries for programs and plugins
|
||||
*.exe
|
||||
*.exe~
|
||||
*.dll
|
||||
*.so
|
||||
*.dylib
|
||||
|
||||
# Test binary, built with `go test -c`
|
||||
*.test
|
||||
|
||||
# Output of the go coverage tool, specifically when used with LiteIDE
|
||||
*.out
|
||||
|
||||
# Dependency directories (remove the comment below to include it)
|
||||
# vendor/
|
||||
|
||||
# Go workspace file
|
||||
go.work
|
||||
go.work.sum
|
||||
|
||||
# env file
|
||||
.env
|
||||
|
||||
# geofeed file
|
||||
# Custom
|
||||
geofeed.csv
|
||||
build
|
||||
|
@ -1,3 +1,3 @@
|
||||
module github.com/realsunyz/geofeed-validator
|
||||
module github.com/realsunyz/geofeed-tools
|
||||
|
||||
go 1.23.2
|
||||
go 1.23
|
||||
|
10
src/plugin/color/color.go
Normal file
10
src/plugin/color/color.go
Normal file
@ -0,0 +1,10 @@
|
||||
package color
|
||||
|
||||
const (
|
||||
Reset = "\033[0m"
|
||||
Red = "\033[31m"
|
||||
Green = "\033[32m"
|
||||
Yellow = "\033[33m"
|
||||
Magenta = "\033[35m"
|
||||
Cyan = "\033[36m"
|
||||
)
|
Loading…
Reference in New Issue
Block a user