Files
learngo/x-tba/3-functions/xxx-project-pricings/pricing/property.go
2019-04-12 11:58:12 +03:00

20 lines
428 B
Go

// For more tutorials: https://blog.learngoprogramming.com
//
// Copyright © 2018 Inanc Gumus
// Learn Go Programming Course
// License: https://creativecommons.org/licenses/by-nc-sa/4.0/
//
package pricing
// Property stores the data about a property
type Property struct {
Location string
Size, Beds, Baths, Price int
}
// Properties stores all the properties
type Properties struct {
list []Property
}