From e1a4b8d6682247992a8ea44c4d6aabf5fbd942a3 Mon Sep 17 00:00:00 2001 From: Matt Bell <mappum@gmail.com> Date: Tue, 14 Oct 2014 16:26:57 -0700 Subject: [PATCH] commands: Added Request#SetPath method --- commands/request.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/commands/request.go b/commands/request.go index f9480130..65661aa1 100644 --- a/commands/request.go +++ b/commands/request.go @@ -11,6 +11,10 @@ func (r *Request) Path() []string { return r.path } +func (r *Request) SetPath(path []string) { + r.path = path +} + func (r *Request) Option(name string) interface{} { return r.options[name] } -- GitLab