domain

package
v0.0.0-...-5c067b0 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2025 License: AGPL-3.0, MIT-0 Imports: 0 Imported by: 0

Documentation

Overview

Package domain contains business logic models.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Account

type Account struct {
	ID            int
	Name          string
	User          DomainUser // The fields of DomainUser operate at depth level 1.
	Email         string
	DuplicateName Duplicate // Should not match with DuplicateField.
}

Account represents a user account.

type DomainUser

type DomainUser struct {
	UserID   int
	Username string
}

DomainUser represents a user in relation to the business logic.

type Duplicate

type Duplicate struct {
	A int
}

Jump to

Keyboard shortcuts

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