How to return the last element in a byte array of integers in golang : In Golang, I want to find the last element in an array of integers. 

But it seems like this needs to be done manually or in such a complex way. 

So if I have a list of 0.0.1, 0.0.2, 0.0.3 I just want 0.0.3 to be returned. 

Every time I try to return the last element the console returns

```
%!(EXTRA uint8=10)
```
Which I assume means I need to convert a byte array to a slice?

WHY DOES THIS GOT TO BE SO COMPLEX? IN JAVASCRIPT I CAN JUST DO `pop()`

Here's my code:

```
cmd := exec.Command("git", "tag")
out, err := cmd.CombinedOutput()
if err != nil {
log.Fatalf("cmd.Run() failed with %s\n", err)
}
fmt.Printf("Variable Type:\n%s\n", reflect.TypeOf(out))
fmt.Printf("Variable:\n%s\n", (out))

slice := out[0:len(out)]
releaseVersion := slice[len(slice)-1]
fmt.Printf("release version:", releaseVersion)

```

Here's the output:
```
Variable Type:
[]uint8

Variable:
0.0.1
0.0.2
0.0.3

release version:%!(EXTRA uint8=10)
```

