kit-template

module
v0.0.0-...-1185af5 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2022 License: MIT

README

kit-template

Build Status Coverage Status GoDevDoc Code lines Comments

Project template with GitHub actions for Go using GPRC with REST.

Usage

Create a new repository from this template, check out it and run ./run_me.sh to replace template name with name of your repository.

Directories

Path Synopsis
cmd
internal
domain
Package domain contains domain layer definitions.
Package domain contains domain layer definitions.
domain/model
Package model contains the models of the application.
Package model contains the models of the application.
domain/usecase
Package usecase contains the usecases of the application.
Package usecase contains the usecases of the application.
platform
Package platform provides domain-specific application and resources.
Package platform provides domain-specific application and resources.
platform/app
Package app initializes the application locator.
Package app initializes the application locator.
platform/config
Package config provides configuration loader based on env vars.
Package config provides configuration loader based on env vars.
platform/handler
Package handler provides common REST functionalities used in the REST server.
Package handler provides common REST functionalities used in the REST server.
platform/service
Package service is a directory of grpc service implementations.
Package service is a directory of grpc service implementations.
platform/storage
Package storage is a directory of usecase storage implementations.
Package storage is a directory of usecase storage implementations.
pkg
grpc/metrics
Package metrics provides a wrapper around of metrics for grpc.
Package metrics provides a wrapper around of metrics for grpc.
grpc/rest
Package rest provides a wrapper around of mux service (rest grpc) implementations.
Package rest provides a wrapper around of mux service (rest grpc) implementations.
grpc/server
Package server provides a wrapper around the grpc.Server.
Package server provides a wrapper around the grpc.Server.
must
Package must panics on error.
Package must panics on error.
servicing
Package servicing provides synchronization, error propagation, and Context cancellation for groups of services
Package servicing provides synchronization, error propagation, and Context cancellation for groups of services
test/feature
Package feature provides utilities for behavior testing as integration tests.
Package feature provides utilities for behavior testing as integration tests.
test/feature/database
Package database implements feature steps to handle database clean up.
Package database implements feature steps to handle database clean up.
resources
swagger
Package swagger is a directory of swagger.
Package swagger is a directory of swagger.

Jump to

Keyboard shortcuts

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