Skip to content

Commit

Permalink
Fix signature of NewRawLoader to return a JSONLoader
Browse files Browse the repository at this point in the history
Signed-off-by: Sebastiaan van Stijn <[email protected]>
  • Loading branch information
thaJeztah authored and johandorland committed Apr 18, 2019
1 parent 1d69a69 commit 7bb655a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jsonLoader.go
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ type jsonRawLoader struct {
source interface{}
}

func NewRawLoader(source interface{}) *jsonRawLoader {
func NewRawLoader(source interface{}) JSONLoader {
return &jsonRawLoader{source: source}
}
func (l *jsonRawLoader) JsonSource() interface{} {
Expand Down

0 comments on commit 7bb655a

Please sign in to comment.