github.com/traefik/yaegi@v0.15.1/stdlib/go1_20_image_color_palette.go (about)

     1  // Code generated by 'yaegi extract image/color/palette'. DO NOT EDIT.
     2  
     3  //go:build go1.20
     4  // +build go1.20
     5  
     6  package stdlib
     7  
     8  import (
     9  	"image/color/palette"
    10  	"reflect"
    11  )
    12  
    13  func init() {
    14  	Symbols["image/color/palette/palette"] = map[string]reflect.Value{
    15  		// function, constant and variable definitions
    16  		"Plan9":   reflect.ValueOf(&palette.Plan9).Elem(),
    17  		"WebSafe": reflect.ValueOf(&palette.WebSafe).Elem(),
    18  	}
    19  }