presentation

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package presentation provides the presentation layer components and their dependency injection setup.

Index

Constants

This section is empty.

Variables

Module provides all presentation layer dependencies

Functions

func NewRenderer

func NewRenderer(deps Dependencies) (view.Renderer, error)

NewRenderer creates a new view renderer

Types

type Dependencies

type Dependencies struct {
	fx.In

	// Infrastructure
	Logger logging.Logger
	Config *config.Config
}

Dependencies contains all presentation layer dependencies

func (*Dependencies) Validate

func (d *Dependencies) Validate() error

Validate checks if all required dependencies are present

Directories

Path Synopsis
templates

Jump to

Keyboard shortcuts

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