Skip to content

Commit

Permalink
readme: switch back to pkg.go.dev for docs
Browse files Browse the repository at this point in the history
  • Loading branch information
emersion committed Aug 15, 2023
1 parent f80b76e commit ea300ca
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# go-message

[![godocs.io](https://godocs.io/github.com/emersion/go-message?status.svg)](https://godocs.io/github.com/emersion/go-message)
[![Go Reference](https://pkg.go.dev/badge/github.com/emersion/go-message.svg)](https://pkg.go.dev/github.com/emersion/go-message)
[![builds.sr.ht status](https://builds.sr.ht/~emersion/go-message/commits/master.svg)](https://builds.sr.ht/~emersion/go-message/commits/master?)

A Go library for the Internet Message Format. It implements:
Expand Down
2 changes: 2 additions & 0 deletions multipart.go
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,8 @@ func (m *multipartBody) NextPart() (*Entity, error) {

func (m *multipartBody) writeBodyTo(w *Writer) error {
for _, p := range m.parts {
h := p.Header

pw, err := w.CreatePart(p.Header)
if err != nil {
return err
Expand Down

0 comments on commit ea300ca

Please sign in to comment.