domain

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2022 License: GPL-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
	Email string
	Info  Cyclic   // Info contains a cyclic field.
	Owner *Account // Owner is a cyclic field.
}

Account represents a user account.

type Cyclic

type Cyclic struct {
	UserID   int
	Username string
	Account  *Account
}

Cyclic represents a cyclic type (that holds an account).

Jump to

Keyboard shortcuts

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