[go] How to get the last element of a slice?