package main
import (
"fmt"
)
func main() {
slice := []string{"php", "html", "css"}
result := append(slice, "golang", "sql", "nilpointer.net", "java")
fmt.Println(result)
}
Output
[php html css golang sql nilpointer.net java]