Get Last Value

Examples Filter
package main

import (
	"fmt"
)

func main() {

	list := []string{"a", "b", "c"}
	fmt.Println(list[len(list)-1])
}
Last Run  :
c