You need to use “…” as suffix in order to append a slice to another slice.
Like this:
package main
import "fmt"
func main(){
a := []byte("hello")
s := "world"
a = append(a, s...) // use "..." as suffice
fmt.Printf("%s",a)
}
You could try it here: http://play.golang.org/p/y_v5To1kiD