go-skeleton

module
v0.0.0-...-05f26bb Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2024 License: MIT

README

go-skeleton

File structure

  • cmd
    • api
      • handlers
        • entity
          • CRUD.go
          • handler.go
    • main.go
    • errors.go
  • internal
    • domain
      • entity.go
    • services
      • entity
        • CRUD.go
        • service.go
    • repositories
      • mongo
        • player
          • insert.go
          • repository.go
        • connectClient.go
    • ports
      • player.go
    • validator

Create a .env file with the following: MONGO_URI="mongodb-uri"

cmd: api: internal:

Directories

Path Synopsis
cmd
api
internal

Jump to

Keyboard shortcuts

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