Skip to content

Conversation

@HazMux
Copy link
Collaborator

@HazMux HazMux commented Mar 9, 2025

No description provided.

@HazMux HazMux requested a review from AnnaVyvert March 9, 2025 07:51
@HazMux HazMux force-pushed the parse-json-and-fix-paths branch from 3b63e3c to 6f1493a Compare March 9, 2025 07:52
@HazMux HazMux force-pushed the parse-json-and-fix-paths branch from 6f1493a to 8764a98 Compare March 9, 2025 07:53
@@ -0,0 +1,16 @@
{
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

.vscode просочился, надо в gitignore закинуть.

func Setup(cfg *config.Config) (log *slog.Logger) {
switch cfg.Env {
case "local":
log = slog.New(slog.NewTextHandler(os.Stdout, &slog.HandlerOptions{Level: slog.LevelDebug, AddSource: true}))
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

мейби сразу тогда в case делать return?

@AnnaVyvert AnnaVyvert self-assigned this Mar 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants