Golang ruels - kanuku/misc GitHub Wiki

  • Always use New constructors to initialize non-structs (returning error in case initialization fails).
  • Move types (structs) to the file types.go.
  • use logger rus library to log actions in handler, service and client layer
  • implement configuration for environment variables