mirror of
https://github.com/pikami/tiktok-dl.git
synced 2026-11-20 09:01:56 +00:00
TTDL-7 Added flag; Code clean up
This commit is contained in:
1 parent
9a65746fd4
commit
f9d35e3bf2
19 files changed
+188
-79
No files matched your search
@@ -0,0 +1,12 @@
|
||||
package utils
|
||||
|
||||
import (
|
||||
"log"
|
||||
)
|
||||
|
||||
// CheckErr - Checks if error and log
|
||||
func CheckErr(err error) {
|
||||
if err != nil {
|
||||
log.Fatal(err)
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user