Skip to content

Instantly share code, notes, and snippets.

@pravinchandar
Created July 5, 2022 00:46
Show Gist options
  • Select an option

  • Save pravinchandar/d69f9835dfffdd4eed4a5988994152bd to your computer and use it in GitHub Desktop.

Select an option

Save pravinchandar/d69f9835dfffdd4eed4a5988994152bd to your computer and use it in GitHub Desktop.
func JqTransform(rpcClient *rpc.Client, input SomeInput) (*SomeOutput, error) {
output := &SomeOutput{}
err := rpcClient.Call("Jqserver.Evaluate", input, output)
return output, err
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment