Here is an example of chat GPT 3 getting this Go code wrong. The first example is valid, however, the second is not. Refrain from trusting everything this tool outputs for you. It can and will eventually bite you; if you don't understand the code, you will not be able to fix it.