domain

package
v0.0.0-...-429302c Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2022 License: GPL-3.0, MIT-0 Imports: 2 Imported by: 0

Documentation

Overview

Package domain contains the setup information for copygen generated code.

Package domain contains business logic models.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Itoa

func Itoa(i int) string
Define the function and field this converter is applied to using regex.

Itoa converts an integer to an ascii value.

func ModelsToDomain

func ModelsToDomain(tA *Account, fA *models.Account, fU *models.User)

ModelsToDomain copies a *models.Account, *models.User to a *Account.

Types

type Account

type Account struct {
	ID     int
	UserID string
	Name   string
	Other  string // The other field is not used.
}

Account represents a user account.

Directories

Path Synopsis
Package models contains data storage models (i.e database).
Package models contains data storage models (i.e database).
Package domain contains the setup information for copygen generated code.
Package domain contains the setup information for copygen generated code.

Jump to

Keyboard shortcuts

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