mirror of
https://github.com/marcel-dempers/docker-development-youtube-series.git
synced 2025-06-06 17:01:30 +00:00
28 lines
681 B
Go
28 lines
681 B
Go
package main
|
|
|
|
type (
|
|
Customer struct {
|
|
FirstName string
|
|
LastName string
|
|
FullName string
|
|
}
|
|
)
|
|
|
|
func GetCustomers()(customers []Customer) {
|
|
|
|
marcel := Customer{ FirstName: "Marcel", LastName: "Dempers"}
|
|
|
|
customers = append(customers, marcel,
|
|
Customer{ FirstName: "Ben", LastName: "Spain" },
|
|
Customer{ FirstName: "Aleem", LastName: "Janmohamed" },
|
|
Customer{ FirstName: "Jamie", LastName: "le Notre" },
|
|
Customer{ FirstName: "Victor", LastName: "Savkov" },
|
|
Customer{ FirstName: "P", LastName: "The Admin" },
|
|
Customer{ FirstName: "Adrian", LastName: "Oprea" },
|
|
Customer{ FirstName: "Jonathan", LastName: "D" },
|
|
|
|
)
|
|
|
|
return customers
|
|
|
|
} |