-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove the unnecessary file and clean up a little bit.
- Loading branch information
1 parent
78720aa
commit 2b9d3c8
Showing
2 changed files
with
17 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
package displays | ||
|
||
import "fmt" | ||
|
||
func AppDescription() { | ||
fmt.Println("\t", ColorBlue, "---------------------------------------------------------", ColorReset) | ||
AddNewline() | ||
fmt.Println("\t\t\t\t", ColorGreen, "TempScale", ColorReset) | ||
AddNewline() | ||
fmt.Println("\t\t", "A CLI tool for converting temperature scale.") | ||
AddNewline() | ||
fmt.Println("\t", ColorBlue, "---------------------------------------------------------", ColorReset) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,15 @@ | ||
package main | ||
|
||
import ( | ||
"fmt" | ||
|
||
"github.com/kentlouisetonino/tempscale/src/displays" | ||
) | ||
|
||
func main() { | ||
// Clear the terminal first. | ||
displays.ClearScreen() | ||
displays.AddNewline() | ||
fmt.Println("\t", displays.ColorBlue, "---------------------------------------------------------", displays.ColorReset) | ||
displays.AddNewline() | ||
fmt.Println("\t\t\t\t", displays.ColorGreen, "TempScale", displays.ColorReset) | ||
displays.AddNewline() | ||
fmt.Println("\t\t", "A CLI tool for converting temperature scale.") | ||
displays.AddNewline() | ||
fmt.Println("\t", displays.ColorBlue, "---------------------------------------------------------", displays.ColorReset) | ||
|
||
// Display the application description. | ||
displays.AppDescription() | ||
displays.AddNewline() | ||
} |