Set First Value
Sets the first value in the list.
Examples
Filter
package main
import (
"fmt"
)
func main() {
s := []int{1, 2, 3, 4, 5}
s[0] = 999
fmt.Println(s)
}
Last Run
:
[999 2 3 4 5]