Remove unused package

This commit is contained in:
Roberto Abdelkader Martínez Pérez
2019-10-03 13:50:19 +02:00
parent 9ff263a5f9
commit 8529ee056b
2 changed files with 0 additions and 29 deletions
-18
View File
@@ -1,18 +0,0 @@
package banner
import "fmt"
func Banner(version string) string {
return fmt.Sprintf(`
___ __ ________ ________ ________ ___ __ ___
|\ \|\ \ |\ __ \|\ __ \|\ __ \|\ \ |\ \|\ \
\ \ \/ /|\ \ \|\ \ \ \|\ \ \ \|\ \ \ \ \ \ \ \ \
\ \ ___ \ \ __ \ \ ____\ \ \\\ \ \ \ __\ \ \ \ \
\ \ \\ \ \ \ \ \ \ \ \___|\ \ \\\ \ \ \|\__\_\ \ \__\
\ \__\\ \__\ \__\ \__\ \__\ \ \_______\ \____________\|__|
\|__| \|__|\|__|\|__|\|__| \|_______|\|____________| ___
|\__\
\|__|
ver: %s
`, version)
}
-11
View File
@@ -1,11 +0,0 @@
package banner
import "testing"
func TestBanner(t *testing.T) {
ban := Banner("0.0.0")
if ban == "" {
t.Errorf("Banner expected KAPOW!!!, but got %v", ban)
t.Fail()
}
}