commands: Added Request#SetPath method
Matt Bell committed
Oct 14, 2014 at 16:26 UTC
e1a4b8d6682247992a8ea44c4d6aabf5fbd942a3
1 file changed
+4
commands/request.go
+4
@@ -11,6 +11,10 @@ func (r *Request) Path() []string {
11
return r.path
12
}
13
14
+func (r *Request) SetPath(path []string) {
15
+ r.path = path
16
+}
17
+
18
func (r *Request) Option(name string) interface{} {
19
return r.options[name]
20
}