github.com/traefik/yaegi@v0.15.1/_test/a21.go (about)

     1  package main
     2  
     3  import "fmt"
     4  
     5  func main() {
     6  	a := []byte("hello")
     7  	fmt.Println(a)
     8  	a = append(a, '=')
     9  	fmt.Println(a)
    10  }
    11  
    12  // Output:
    13  // [104 101 108 108 111]
    14  // [104 101 108 108 111 61]