summaryrefslogtreecommitdiff
path: root/patchset.Make.go
diff options
context:
space:
mode:
Diffstat (limited to 'patchset.Make.go')
-rw-r--r--patchset.Make.go11
1 files changed, 11 insertions, 0 deletions
diff --git a/patchset.Make.go b/patchset.Make.go
index 64bb2ce..f4bdea9 100644
--- a/patchset.Make.go
+++ b/patchset.Make.go
@@ -10,10 +10,21 @@ import (
"github.com/google/uuid"
"go.wit.com/lib/protobuf/gitpb"
+ "go.wit.com/lib/protobuf/httppb"
"go.wit.com/log"
timestamppb "google.golang.org/protobuf/types/known/timestamppb"
)
+func (p *Patches) HttpPostVerbose(baseURL string, route string) (*Patches, *httppb.HttpRequest, error) {
+ p.PrintTable()
+ return p.HttpPost(baseURL, route)
+}
+
+func (p *Patchsets) HttpPostVerbose(baseURL string, route string) (*Patchsets, *httppb.HttpRequest, error) {
+ p.PrintTable()
+ return p.HttpPost(baseURL, route)
+}
+
func newPatchset(name string) *Patchset {
pset := new(Patchset)
pset.Name = name