Suppose you want to create a very simple function checkAge() that takes as an argument the user's age and returns the following custom errors depending on the age:
"age can't be negative"if the user's age is less than0;"age can't be zero"if the user's age is equal to0;"babies and toddlers can't code"if the user's age is between1and4years.
Finally, if the user's age is greater than or equal to 5 years, your program should return nil and then print the message: "you're old enough to learn how to code in Go".