From 2f15edf548ec131d2eb97bd5338a1adef768acea Mon Sep 17 00:00:00 2001 From: Andinus Date: Wed, 18 Mar 2020 18:00:10 +0530 Subject: Restructure for Cetus v0.5 This version aims for a cleaner code, better documentation & to adopt better practices. --- pkg/cetus/cetus.go | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) (limited to 'pkg/cetus/cetus.go') diff --git a/pkg/cetus/cetus.go b/pkg/cetus/cetus.go index c3f86cb..17fd906 100644 --- a/pkg/cetus/cetus.go +++ b/pkg/cetus/cetus.go @@ -5,22 +5,9 @@ import ( "log" ) -var version string = "v0.4.11" +var version string = "v0.5.0" // Version prints cetus version func Version() { fmt.Printf("Cetus %s\n", version) } - -// PrintPath prints the path passed -func PrintPath(path string) { - fmt.Println(path) -} - -// ErrChk logs the context & error -func ErrChk(ctx string, err error) { - if err != nil { - log.Println(ctx) - log.Fatal(err) - } -} -- cgit 1.4.1-2-gfad0