2019-10-05 21:53:22 +05:00
|
|
|
package clientv1
|
|
|
|
|
|
|
|
import (
|
|
|
|
// local
|
2019-10-13 15:12:54 +05:00
|
|
|
"go.dev.pztrn.name/giredore/internal/logger"
|
|
|
|
"go.dev.pztrn.name/giredore/internal/requester"
|
2019-10-05 21:53:22 +05:00
|
|
|
|
|
|
|
// other
|
|
|
|
"github.com/rs/zerolog"
|
|
|
|
)
|
|
|
|
|
|
|
|
var (
|
|
|
|
log zerolog.Logger
|
|
|
|
)
|
|
|
|
|
|
|
|
func Initialize() {
|
|
|
|
log = logger.Logger.With().Str("type", "domain").Str("package", "client").Int("version", 1).Logger()
|
|
|
|
log.Info().Msg("Initializing...")
|
|
|
|
|
|
|
|
requester.Initialize()
|
|
|
|
}
|