services

package
v0.0.0-...-e6b574e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 31, 2023 License: MIT Imports: 9 Imported by: 0

README

/app/services

Code in this directory should handle things that are not related to the actual business logic. This layer should only be familiar with everything related to API models.

Should handle

  • Input validations
  • Authorization
    • Role check
  • Request/Response shaping
    • Extract a value from Context and replace it's corresponding one in request/response
  • Errors mapping

Shouldn't handle

  • Converting DTOs
  • Access DB
  • Implement business logic

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateWorkshopService

func CreateWorkshopService(deps workshopServiceDeps) workshop.WorkshopServer

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL