summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--pkg/cetus/cetus.go8
-rw-r--r--pkg/cetus/random.go16
2 files changed, 5 insertions, 19 deletions
diff --git a/pkg/cetus/cetus.go b/pkg/cetus/cetus.go
index 7005c9d..dbf72f8 100644
--- a/pkg/cetus/cetus.go
+++ b/pkg/cetus/cetus.go
@@ -5,7 +5,7 @@ import (
 	"log"
 )
 
-var version string = "v0.4.7"
+var version string = "v0.4.8"
 
 // Version prints cetus version
 func Version() {
@@ -19,6 +19,8 @@ func PrintPath(path string) {
 
 // ErrChk logs the context & error
 func ErrChk(ctx string, err error) {
-	log.Println(ctx)
-	log.Fatal(err)
+	if err != nil {
+		log.Println(ctx)
+		log.Fatal(err)
+	}
 }
diff --git a/pkg/cetus/random.go b/pkg/cetus/random.go
deleted file mode 100644
index d77a24b..0000000
--- a/pkg/cetus/random.go
+++ /dev/null
@@ -1,16 +0,0 @@
-package cetus
-
-import (
-	"math/rand"
-)
-
-// RandAlNum returns random alpha-numeric string of specific length
-func RandAlNum(n int) string {
-	rand.Seed(time.Now().UnixNano())
-	const alphanum = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789"
-	b := make([]byte, n)
-	for i := range b {
-		b[i] = letterBytes[rand.Intn(len(letterBytes))]
-	}
-	return string(b)
-}
itter Thomas E. Dickey <dickey@invisible-island.net> 1996-09-02 19:39:24 -0400 snapshot of project "lynx", label v2_6' href='/ingrix/lynx-snapshots/commit/src/LYTraversal.c?id=e087f6d44e87f489fcb3056e86319ebba4218156'>e087f6d4
d97a6513 ^








c68ecb8b ^
d97a6513 ^








e087f6d4


a735f5ad ^


e087f6d4
a2a1ab1e ^
d97a6513 ^

e087f6d4
d97a6513 ^


e087f6d4

a735f5ad ^
e087f6d4
a4a7d3a3 ^
e087f6d4
a735f5ad ^

e087f6d4

a735f5ad ^

e087f6d4

ab1d1ae5 ^
e087f6d4






549ec595 ^
d97a6513 ^
e087f6d4











549ec595 ^
d97a6513 ^
e087f6d4

eef116fe ^
e087f6d4








c3ec4181 ^
d97a6513 ^
c3ec4181 ^
549ec595 ^
d97a6513 ^
c3ec4181 ^
e087f6d4

d3f9d547 ^


e087f6d4

eef116fe ^
e087f6d4









549ec595 ^
d97a6513 ^
e087f6d4


















a735f5ad ^

169e8098 ^
a735f5ad ^
e087f6d4
a2a1ab1e ^
d97a6513 ^
e087f6d4

a735f5ad ^
e087f6d4
a4a7d3a3 ^
169e8098 ^




a735f5ad ^
d97a6513 ^
169e8098 ^
d97a6513 ^
a735f5ad ^
d97a6513 ^
169e8098 ^


a735f5ad ^

e087f6d4

ab1d1ae5 ^
e087f6d4
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173