Skip to content

Conversation

Pietroski
Copy link

@Pietroski Pietroski commented Apr 24, 2024

It refactors how and where the handling layer is at the repository level to a more "standard" pattern usually used on go repos. It also fixed some fmt (printing) wrong use cases.

@Pietroski Pietroski force-pushed the refactor/routing branch 2 times, most recently from 171e557 to 9719e99 Compare April 24, 2024 13:17
Copy link
Member

@kissartisan kissartisan left a comment

Choose a reason for hiding this comment

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

As far as I can understand, we relocated some stuff to:

  • cmd/server -> cmd (main.go file)
  • Some cmd/server files to internal/server

This is to comply to the common patterns in Go.

One question: why fmt.Errorf is not working unlike fmt.Printf as you stated?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants