model

package
v0.0.0-...-e41ca22 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2023 License: GPL-3.0 Imports: 0 Imported by: 0

Documentation

Overview

customers

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Customer

type Customer struct {
	Id     int
	Name   string
	Gender string
	Age    int
	Phone  string
	Email  string
}

func NewCustomer

func NewCustomer(name string, gender string, age int, phone string, email string) Customer

func (*Customer) GetId

func (c *Customer) GetId() int

func (*Customer) GetInfo

func (c *Customer) GetInfo() (int, string, string, int, string, string)

func (*Customer) Reset

func (c *Customer) Reset(name string, gender string, age int, phone string, email string)

Jump to

Keyboard shortcuts

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