Get Last Value
Examples in
Go
package main
import (
"fmt"
)
func main() {
list := []string{"a", "b", "c"}
fmt.Println(list[len(list)-1])
}
Last Run
:
c