booking-fly

command module
v0.0.0-...-f52bcce Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2024 License: MIT Imports: 5 Imported by: 0

README

booking-fly

Booking Fly is a example app created with Torpedo framework

How to run this application

ENVIRONMENT=dev go run main.go
How to run application tests
ENVIRONMENT=test go test -race ./...

How to generate Swagger info

The swagger info is already generated, but if you add changes to the project and would like to re-generate the swagger info, please, follow the steps below:

First swag command is required.

go install github.com/swaggo/swag/cmd/swag@latest

After that the command to run is:

swag init --parseDependency --parseInternal -o oas

Please for further information read the section: Open API

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Package domain domain entry point
Package domain domain entry point
entities/trip
Package trip The user fly trip reservations
Package trip The user fly trip reservations
entities/trip/inputs/http/gin
Package gin input
Package gin input
entities/trip/outputs/memory
Package memory is an output adapter to store entities in memory
Package memory is an output adapter to store entities in memory
entities/trip/outputs/mongodb
Package mongodb is an output adapter to store entities in MongoDB
Package mongodb is an output adapter to store entities in MongoDB
entities/trip/testing/mocks
Package mocks the service trip.Service for testing purpose
Package mocks the service trip.Service for testing purpose
entities/user
Package user The user system
Package user The user system
entities/user/inputs/http/gin
Package gin input
Package gin input
entities/user/outputs/memory
Package memory is an output adapter to store entities in memory
Package memory is an output adapter to store entities in memory
entities/user/outputs/mongodb
Package mongodb is an output adapter to store entities in MongoDB
Package mongodb is an output adapter to store entities in MongoDB
entities/user/testing/mocks
Package mocks the service user.Service for testing purpose
Package mocks the service user.Service for testing purpose
testing/mocks
Package mocks the service domain.
Package mocks the service domain.
use_cases/booking_fly
Package booking_fly Fly reservation use case
Package booking_fly Fly reservation use case
Package oas Code generated by swaggo/swag.
Package oas Code generated by swaggo/swag.
testing

Jump to

Keyboard shortcuts

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