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

     1  // Code generated by 'yaegi extract net/textproto'. DO NOT EDIT.
     2  
     3  //go:build go1.19 && !go1.20
     4  // +build go1.19,!go1.20
     5  
     6  package stdlib
     7  
     8  import (
     9  	"net/textproto"
    10  	"reflect"
    11  )
    12  
    13  func init() {
    14  	Symbols["net/textproto/textproto"] = map[string]reflect.Value{
    15  		// function, constant and variable definitions
    16  		"CanonicalMIMEHeaderKey": reflect.ValueOf(textproto.CanonicalMIMEHeaderKey),
    17  		"Dial":                   reflect.ValueOf(textproto.Dial),
    18  		"NewConn":                reflect.ValueOf(textproto.NewConn),
    19  		"NewReader":              reflect.ValueOf(textproto.NewReader),
    20  		"NewWriter":              reflect.ValueOf(textproto.NewWriter),
    21  		"TrimBytes":              reflect.ValueOf(textproto.TrimBytes),
    22  		"TrimString":             reflect.ValueOf(textproto.TrimString),
    23  
    24  		// type definitions
    25  		"Conn":          reflect.ValueOf((*textproto.Conn)(nil)),
    26  		"Error":         reflect.ValueOf((*textproto.Error)(nil)),
    27  		"MIMEHeader":    reflect.ValueOf((*textproto.MIMEHeader)(nil)),
    28  		"Pipeline":      reflect.ValueOf((*textproto.Pipeline)(nil)),
    29  		"ProtocolError": reflect.ValueOf((*textproto.ProtocolError)(nil)),
    30  		"Reader":        reflect.ValueOf((*textproto.Reader)(nil)),
    31  		"Writer":        reflect.ValueOf((*textproto.Writer)(nil)),
    32  	}
    33  }