Add RequestOptions to Go GLV (#1968)
Go was previously not sending per-request options correctly to the server.
Go was passing request options inside the gremlin script bindings map instead of
within the args portion of the request message.
This commit resolves this issue by encapsulating all per-request settings as well as
script bindings into a new RequestOptions struct which has an accompanying RequestOptionsBuilder.
This can now be passed in through new Client.SubmitWithOptions() and DriverRemoteConnection.SubmitWithOptions() methods.
Both original Submit() methods are unchanged in their behavior so this will not break any users.
11 files changed