Learn

Temporary note for my Go journey.

  • Init timezone.

  • Init config with viper.

  • Hexagonal architecture: don't expose adapters.

  • Error handling:

    • Log technical error at business layer.

    • Create new business error and return to presentation layer. (Example: Query not found)

Last updated