-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(GetForToken): added support for pointer to interface{}
reflect-based switch doesn't work when the value passed is *any: the resulting indirection is typed as reflect.Interface and not the actual underlying type. * added more stringent checking on nil values (i.e. covers interface{}(nil) * contributes: go-swagger/go-swagger#1898 (pointers to content of a x-... swagger extension) Signed-off-by: Frederic BIDON <fredbi@yahoo.com>
- Loading branch information
Showing
2 changed files
with
70 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters