entity

package
v0.0.0-...-e754585 Latest Latest
Warning

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

Go to latest
Published: May 29, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Account

type Account struct {
	ID      uuid.UUID
	Balance float64
	UserID  int64
	Active  bool
}

Account struct defines the account entity.

func NewAccount

func NewAccount(userID int64) (account *Account)

NewAccount returns a new Account instance.

Jump to

Keyboard shortcuts

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