Lower bound returns wrong index

Code reviewHard20 min

Your task

Review this Go binary search that returns the index of the first element >= target (lower bound).