github.com/gnolang/gno@v0.0.0-20240520182011-228e9d0192ce/gnovm/tests/files/append3.gno (about) 1 package main 2 3 func main() { 4 a := append([]byte(nil), "foobar"...) 5 println(string(a)) 6 } 7 8 // Output: 9 // foobar