jsonparser
jsonparser copied to clipboard
How to pass an instance of jsonparser as a parameter
Hello,
I am trying to pass in jsonparser as a parameter to a function
res, err := HelloWorld(jsonparser), but can only do something like this: res, err := HelloWorld(jsonparser.Get)
Is there a way to initialize and pass in an 'instance' of jsonparser?