In this challenge, your function receives an array of integers as input. Your task is to determine whether the numbers are in ascending order. An array is said to be in ascending order if there are no two adjacent integers where the left integer exceeds the right integer in value.
For the purposes of this challenge, you may assume that all inputs are valid, i.e. non-empty arrays containing only integers.
The solution in Golang
Test cases to validate our solution