github.com/Kolosok86/http@v0.1.2/internal/multipart/readmimeheader.go (about) 1 // Copyright 2023 The Go Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style 3 // license that can be found in the LICENSE file. 4 package multipart 5 6 import ( 7 _ "unsafe" // for go:linkname 8 9 "github.com/Kolosok86/http/textproto" 10 ) 11 12 // readMIMEHeader is defined in package net/textproto. 13 // 14 //go:linkname readMIMEHeader net/textproto.readMIMEHeader 15 func readMIMEHeader(r *textproto.Reader, lim int64) (textproto.MIMEHeader, error)