In this exercise, we will write some simple functions that return zero values for various Go types. Some types you might not have seen before. They will be introduced in detail in later exercises.
Adjust the EmptyBool
function to return an empty bool.
Adjust the EmptyInt
function to return an empty int.
Adjust the EmptyString
function to return an empty string.
Adjust the EmptyFunc
function to return an empty func.
Adjust the EmptyPointer
function to return an empty pointer.
Adjust the EmptyMap
function to return an empty map.
Adjust the EmptySlice
function to return an empty slice.
Adjust the EmptyChannel
function to return an empty channel.
Adjust the EmptyInterface
function to return an empty interface.