Just FYI, .GetByPrefix has been deprecated, and replaced with .GetMatch. Though, that will return only the first match. To get a slice of all the matches so that you can use range to loop through it, use .Match.
See:
Just FYI, .GetByPrefix has been deprecated, and replaced with .GetMatch. Though, that will return only the first match. To get a slice of all the matches so that you can use range to loop through it, use .Match.
See: