Skip to content

Commit acf44b4

Browse files
committed
Update README.md
Fixes datatype in documentation
1 parent c12f0c5 commit acf44b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ func (s *fixtureSource) FindOne(ID string, r api2go.Request) (interface{}, error
4444
// Return a single post by ID as Post
4545
}
4646

47-
func (s *fixtureSource) FindMultiple(IDs string, r api2go.Request) (interface{}, error) {
47+
func (s *fixtureSource) FindMultiple(IDs []string, r api2go.Request) (interface{}, error) {
4848
// Return multiple posts by ID as []Post
4949
// For example for Requests like GET /posts/1,2,3
5050
}

0 commit comments

Comments
 (0)