mirror of
https://github.com/tmrts/go-patterns.git
synced 2024-11-22 04:56:09 +03:00
remove comments
This commit is contained in:
parent
86ac331681
commit
708e69df88
@ -70,11 +70,9 @@ func (productFacade ProductFacade) GetDiscountedCost(userName string, productNam
|
||||
product := Product{name: "Car", cost:10.50, discount: 0.1 }
|
||||
|
||||
userStorage := UserStorage{storageMap: make(map[string]User)}
|
||||
//userStorage.storageMap = make(map[string]User)
|
||||
userStorage.storageMap[user.name] = user
|
||||
|
||||
productStorage := ProductStorage{storageMap: make(map[string]Product)}
|
||||
//productStorage.storageMap = make(map[string]Product)
|
||||
productStorage.storageMap[product.name] = product
|
||||
|
||||
facade := ProductFacade{productStorage: productStorage, userStorage: userStorage}
|
||||
|
Loading…
Reference in New Issue
Block a user