Files
iptvc/app/app.go
AnthonyAxenov d15d4f47b6
All checks were successful
release / release (push) Successful in 5m47s
Initial commit
2025-05-06 10:45:37 +08:00

39 lines
799 B
Go

/*
* Copyright (c) 2025, Антон Аксенов
* This file is part of iptvc project
* MIT License: https://git.axenov.dev/IPTV/iptvc/src/branch/master/LICENSE
*/
package app
import (
"axenov/iptv-checker/app/config"
"github.com/redis/go-redis/v9"
)
const VERSION = "0.1.0"
// Arguments описывает аргументы командной строки
type Arguments struct {
IniPath string
TagsPath string
RandomCount uint
NeedJson bool
NeedQuiet bool
Verbose bool
}
var (
Args Arguments
Redis *redis.Client
Config *config.Config
//TagBlocks []tagfile.TagBlock
)
// Init инициализирует глобальные переменные
func Init() {
Config = config.Init()
//logger.Init(Args.NeedQuiet)
//Redis = cache.Init(Config.Redis)
}