diff options
Diffstat (limited to 'patchset.Send.go')
| -rw-r--r-- | patchset.Send.go | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/patchset.Send.go b/patchset.Send.go index 3677a4f..44d9a26 100644 --- a/patchset.Send.go +++ b/patchset.Send.go @@ -11,6 +11,14 @@ import ( "go.wit.com/log" ) +// makes a new patches protobuf. These are all the patches on your machine. +func NewPatches() *Patches { + x := new(Patches) + x.Uuid = "2679065e-c81d-4a00-aca4-03c158a834fb" + x.Version = "v2.0.0 go.wit.com/lib/protobuf/forgepb" + return x +} + func (f *Forge) SendPatchSet(pset *Patchset) error { var err error data, err := pset.Marshal() |
