Rename package
This commit is contained in:
@@ -6,7 +6,7 @@ import (
|
||||
"fmt"
|
||||
"io"
|
||||
"log"
|
||||
"main/downloaders"
|
||||
"ytdl/downloaders"
|
||||
"os"
|
||||
"os/signal"
|
||||
"syscall"
|
||||
@@ -20,7 +20,7 @@ var Warning *log.Logger
|
||||
|
||||
func init() {
|
||||
log.SetFlags(log.Lmicroseconds | log.Lshortfile)
|
||||
logFile, err := os.Create("main.log")
|
||||
logFile, err := os.Create("ytdl.log")
|
||||
if err != nil {
|
||||
log.Printf("Error creating log file: %v", err)
|
||||
os.Exit(1)
|
||||
|
||||
Reference in New Issue
Block a user