pkg/

directory
v0.0.0-...-680b031 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2026 License: MIT

README

Public API Packages

This directory contains the public API packages that users of the Pericarp library should import.

Structure

The public API is organized into logical packages:

  • eventsourcing: Event sourcing primitives including events, event stores, and event handling
  • application: Command/query handlers, application services, and CQRS bus (future)
  • infrastructure: Event store implementations, database access, and external integrations (future)
  • auth: Authentication and authorization primitives (future)

Usage

import (
    "github.com/akeemphilbert/pericarp/pkg/eventsourcing"
    "github.com/akeemphilbert/pericarp/pkg/application"
    "github.com/akeemphilbert/pericarp/pkg/infrastructure"
)

Note

This directory structure follows golang-standards/project-layout. Packages are organized by domain concern to allow for clean separation and future expansion.

Jump to

Keyboard shortcuts

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