Skip to content

Commit

Permalink
Add exporting variable
Browse files Browse the repository at this point in the history
  • Loading branch information
marcoshuck committed Sep 21, 2023
1 parent adac3a3 commit d03305a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions encoders/raw.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,3 +75,6 @@ func (e rawEncoder) NewDecoder(r io.Reader) runtime.Decoder {
func (e rawEncoder) ContentType(v interface{}) string {
return "application/octet-stream"
}

// RAW holds a raw encoder instance implementing Marshaller.
var RAW = &rawEncoder{}

0 comments on commit d03305a

Please sign in to comment.