github.com/switchupcb/yaegi@v0.10.2/stdlib/go1_16_net_textproto.go (about)

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