Skip to content

Commit

Permalink
Merge pull request #99 from xmidt-org/fix-formatting
Browse files Browse the repository at this point in the history
Fix the code formatting issues.
  • Loading branch information
schmidtw authored Aug 23, 2022
2 parents ab0be60 + 86278b2 commit 8299e4d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,5 @@ Some common uses of this package include:
return buffer.Bytes(), nil
}
*/
package wrp
2 changes: 1 addition & 1 deletion format.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ func (f Format) ContentType() string {
// the first fallback value is used. The rest are ignored. This approach allows
// simple usages such as:
//
// FormatFromContentType(header.Get("Content-Type"), wrp.Msgpack)
// FormatFromContentType(header.Get("Content-Type"), wrp.Msgpack)
func FormatFromContentType(contentType string, fallback ...Format) (Format, error) {
if len(contentType) == 0 {
if len(fallback) > 0 {
Expand Down

0 comments on commit 8299e4d

Please sign in to comment.