ytdlp package

This commit is contained in:
Carl Pearson
2024-10-13 06:09:23 -06:00
parent d5e3f5c656
commit ccd21636cf
5 changed files with 41 additions and 14 deletions

12
ytdlp/init.go Normal file
View File

@@ -0,0 +1,12 @@
package ytdlp
import "github.com/sirupsen/logrus"
var log *logrus.Logger
func Init(logger *logrus.Logger) error {
log = logger.WithFields(logrus.Fields{
"component": "ytdlp",
}).Logger
return nil
}