File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,10 @@ type Config struct {
2222 Persist bool
2323 System string `env:"EXPLO_SYSTEM"`
2424 Debug bool `env:"DEBUG" env-default:"false"`
25+ << << << < HEAD
2526 LogLevel string `env:"LOG_LEVEL" env-default:"INFO"`
27+ == == == =
28+ >> >> >> > 2065 c16 (Remove timeout from main .go )
2629}
2730
2831type Flags struct {
Original file line number Diff line number Diff line change 55 "log"
66 "log/slog"
77 "os"
8- "time"
98
109 "explo/src/client"
1110 "explo/src/config"
@@ -20,9 +19,9 @@ type Song struct {
2019 Album string
2120}
2221
23- func initHttpClient (cfg * config. Config ) * util.HttpClient {
22+ func initHttpClient () * util.HttpClient {
2423 return util .NewHttp (util.HttpClientConfig {
25- Timeout : time . Duration ( cfg . Timeout ) * time . Second ,
24+ Timeout : 10 ,
2625 })
2726}
2827
You can’t perform that action at this time.
0 commit comments