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

     1  package main
     2  
     3  import "fmt"
     4  
     5  func main() {
     6  	a := map[string]int{"hello": 1, "world": 3}
     7  	delete(a, "hello")
     8  	fmt.Println(a)
     9  }
    10  
    11  // Output:
    12  // map[world:3]