copygen

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: 3 Imported by: 0

Documentation

Overview

Package copygen contains the setup information for copygen generated code.

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.

convert .* models.User.UserID Itoa converts an integer to an ascii value.

Types

type Copygen

type Copygen interface {
	// map models.User.UserID domain.Account.ID
	// map models.Account.Name domain.Account.Name
	// map models.Account.Email domain.Account.Email
	ModelsToDomain(*models.Account, *models.User) *domain.Account
}

Copygen defines the functions that will be generated.

Jump to

Keyboard shortcuts

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