hg-example

module
v0.0.0-...-dcdfded Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2023 License: BSD-2-Clause

README

hg-example

An example to demonstrate (opionionated) server side rendering in Go using the hg library.

See cmd/minimal-srv for a minimal working example.

Directories

Path Synopsis
cmd
Package internal is one of two magical Go package identifiers.
Package internal is one of two magical Go package identifiers.
app
Package app contains a package per cmd application, which contains the according dependency injection layer (DI).
Package app contains a package per cmd application, which contains the according dependency injection layer (DI).
helloworld
Package helloworld is a very small domain core without any I/O adapters, so its fine to just put it right into the bounded context folder!?
Package helloworld is a very small domain core without any I/O adapters, so its fine to just put it right into the bounded context folder!?
invoicing
Package invoicing is an empty unidiomatic package, which represents the bounded context of invoicing.
Package invoicing is an empty unidiomatic package, which represents the bounded context of invoicing.
invoicing/domain
Package invoicing contains the domains core and use cases (domain layer).
Package invoicing contains the domains core and use cases (domain layer).
invoicing/domain/positions
Package positions has been introduced because the domain model has become to large, so we break into smaller and more independent parts.
Package positions has been introduced because the domain model has become to large, so we break into smaller and more independent parts.
invoicing/domain/receiver
Package receiver has been introduced because the domain model has become to large, so we break into smaller and more independent parts.
Package receiver has been introduced because the domain model has become to large, so we break into smaller and more independent parts.
invoicing/postgresql
Package postgresql contains the domains repository implementations for postgresql.
Package postgresql contains the domains repository implementations for postgresql.
invoicing/rest
Package rest provides the rest presentation layer.
Package rest provides the rest presentation layer.
invoicing/s3
Package s3 contains the domains repository implementations for s3 blob storage.
Package s3 contains the domains repository implementations for s3 blob storage.
invoicing/web
Package web contains the web presentation layer.
Package web contains the web presentation layer.
pkg
Package pkg contains implementations which are totally project independent and could possibly be extracted into standalone modules.
Package pkg contains implementations which are totally project independent and could possibly be extracted into standalone modules.
sys
Package sys contains infrastructure implementations which are project related (see also pkg package) but not specific for any bounded context.
Package sys contains infrastructure implementations which are project related (see also pkg package) but not specific for any bounded context.
sys/logging
Package logging provides the shared foundational/infrastructure implementation of common logging functions.
Package logging provides the shared foundational/infrastructure implementation of common logging functions.
sys/version
Package version provides some injected build time information.
Package version provides some injected build time information.

Jump to

Keyboard shortcuts

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