customer

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateCustomer

func CreateCustomer(customer Customer)

func DeleteCustomer

func DeleteCustomer(id int)

func UpdateCustomer

func UpdateCustomer(customer Customer)

Types

type Customer

type Customer struct {
	CustomerID   int
	CustomerName string
	CustomerSSN  string
}

func GetAllCustomers

func GetAllCustomers() []Customer

func GetCustomerById

func GetCustomerById(id int) Customer

Jump to

Keyboard shortcuts

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