Remove unused package
This commit is contained in:
@@ -1,18 +0,0 @@
|
||||
package banner
|
||||
|
||||
import "fmt"
|
||||
|
||||
func Banner(version string) string {
|
||||
return fmt.Sprintf(`
|
||||
___ __ ________ ________ ________ ___ __ ___
|
||||
|\ \|\ \ |\ __ \|\ __ \|\ __ \|\ \ |\ \|\ \
|
||||
\ \ \/ /|\ \ \|\ \ \ \|\ \ \ \|\ \ \ \ \ \ \ \ \
|
||||
\ \ ___ \ \ __ \ \ ____\ \ \\\ \ \ \ __\ \ \ \ \
|
||||
\ \ \\ \ \ \ \ \ \ \ \___|\ \ \\\ \ \ \|\__\_\ \ \__\
|
||||
\ \__\\ \__\ \__\ \__\ \__\ \ \_______\ \____________\|__|
|
||||
\|__| \|__|\|__|\|__|\|__| \|_______|\|____________| ___
|
||||
|\__\
|
||||
\|__|
|
||||
ver: %s
|
||||
`, version)
|
||||
}
|
||||
@@ -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()
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user