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

     1  package main
     2  
     3  import (
     4  	"fmt"
     5  
     6  	"github.com/traefik/yaegi/_test/p6"
     7  )
     8  
     9  func main() {
    10  	t := p6.IPPrefixSlice{}
    11  	fmt.Println(t)
    12  	b, e := t.MarshalJSON()
    13  	fmt.Println(string(b), e)
    14  }