| 1 | package mailyakscip-go gomod github.com/domodwyer/mailyak/v3 . `github.com/domodwyer/mailyak/v3`/ |
| 2 | |
| 3 | import "bytesscip-go gomod github.com/golang/go/src go1.12 bytes/" |
| 4 | |
| 5 | // BodyPart is a buffer holding the contents of an email MIME part. |
| 6 | type BodyPartscip-go gomod github.com/domodwyer/mailyak/v3 . `github.com/domodwyer/mailyak/v3`/BodyPart# struct{ bytesscip-go gomod github.com/golang/go/src go1.12 bytes/.Bufferscip-go gomod github.com/domodwyer/mailyak/v3 . `github.com/domodwyer/mailyak/v3`/BodyPart#Buffer. } |
| 7 | |
| 8 | // Set accepts a string s as the contents of a BodyPart, replacing any existing |
| 9 | // data. |
| 10 | func (w *BodyPartscip-go gomod github.com/domodwyer/mailyak/v3 . `github.com/domodwyer/mailyak/v3`/BodyPart#) Setscip-go gomod github.com/domodwyer/mailyak/v3 . `github.com/domodwyer/mailyak/v3`/BodyPart#Set().(s string) { |
| 11 | w.Resetscip-go gomod github.com/golang/go/src go1.12 bytes/Buffer#Reset().() |
| 12 | w.WriteStringscip-go gomod github.com/golang/go/src go1.12 bytes/Buffer#WriteString().(s) |
| 13 | } |