gob/test/main.go

13 lines
112 B
Go

package main
import (
"fmt"
)
func main() {
a := []int{1, 2, 3}
fmt.Println(a)
clear(a)
fmt.Println(a)
}