Interactive Lesson:

Functions

Now that we’ve vanquished the beast that is a ‘Hello, World’ app. It’s time to sharpen our swords and venture out into the realm to gain further insight and wisdom.

Task

In this task, you’ll need want to call the vanquish function within your main function.

When defining functions in Go, we use the func keyword followed by the name of the function. In this case, we’ve called it vanquish and it takes in no arguemnts, and also returns no arguments.

Your task is to update the main func within your program so that it successfully calls the vanquish function.

Additional Scrolls of wisdom