Skip to content

Commit be60acc

Browse files
author
LAIS CARVALHO DE LIMA
committed
Improve folder structure
1 parent e06f343 commit be60acc

File tree

2 files changed

+5
-135
lines changed

2 files changed

+5
-135
lines changed

colors.go pkg/colors/colors.go

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package todo
1+
package colors
22

33
import "fmt"
44

@@ -11,18 +11,18 @@ const (
1111
ColorGray = "\x1b[90m"
1212
)
1313

14-
func red(s string) string {
14+
func Red(s string) string {
1515
return fmt.Sprintf("%s%s%s", ColorRed, s, ColorDefault)
1616
}
1717

18-
func green(s string) string {
18+
func Green(s string) string {
1919
return fmt.Sprintf("%s%s%s", ColorGreen, s, ColorDefault)
2020
}
2121

22-
func blue(s string) string {
22+
func Blue(s string) string {
2323
return fmt.Sprintf("%s%s%s", ColorBlue, s, ColorDefault)
2424
}
2525

26-
func gray(s string) string {
26+
func Gray(s string) string {
2727
return fmt.Sprintf("%s%s%s", ColorGray, s, ColorDefault)
2828
}

todo.go

-130
This file was deleted.

0 commit comments

Comments
 (0)