22 lines
384 B
Go
22 lines
384 B
Go
package clientv1
|
|
|
|
import (
|
|
// local
|
|
"go.dev.pztrn.name/giredore/internal/logger"
|
|
"go.dev.pztrn.name/giredore/internal/requester"
|
|
|
|
// 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()
|
|
}
|