# Hints ## General - [Go by example map][gobyexample-map] - [Go maps in action][goblog-map] ## 1. Store the unit of measurement in your program - To store the measurement in your program, you can use map literal, see [go blog about map][goblog-map] ## 2. Create a new bill - To create a new bill, you all you need to do is reinitialize the customer, see [go blog about map][goblog-map] ## 3. Add item to the customer bill - To check whether the given unit of measurement is correct, you can test your measurement map for a key without retrieving a value, see [go blog about map][goblog-map] ## 4. Remove item from the customer bill - To check whether the given item is in customer bill, you can test your measurement map for a key without retrieving a value, see [go blog about map][goblog-map] - To check whether the given unit of measurement is correct, you can test your measurement map for a key without retrieving a value, see [go blog about map][goblog-map] ## 5. Return the number of specific item that is in the customer bill - To check whether the given item is in customer bill, you can test your measurement map for a key without retrieving a value, see [go blog about map][goblog-map] [gobyexample-map]: https://gobyexample.com/maps [goblog-map]: https://blog.golang.org/maps