pkg/tool: generate package documentation
Fixes #39
Change-Id: I3acc6bd67a8012dd8a33819d153ee5c97342faa5
Reviewed-on: https://cue-review.googlesource.com/c/cue/+/1926
Reviewed-by: Marcel van Lohuizen <mpvl@google.com>
diff --git a/pkg/tool/http/doc.go b/pkg/tool/http/doc.go
new file mode 100644
index 0000000..5827610
--- /dev/null
+++ b/pkg/tool/http/doc.go
@@ -0,0 +1,33 @@
+// Code generated by cue get go. DO NOT EDIT.
+
+// Package http provides tasks related to the HTTP protocol.
+//
+// These are the supported tasks:
+//
+// Get: Do & {method: "GET"}
+// Post: Do & {method: "POST"}
+// Put: Do & {method: "PUT"}
+// Delete: Do & {method: "DELETE"}
+//
+// Do: {
+// kind: "tool/http.Do"
+//
+// method: string
+// url: string // TODO: make url.URL type
+//
+// request: {
+// body: *bytes | string
+// header <Name>: string | [...string]
+// trailer <Name>: string | [...string]
+// }
+// response: {
+// status: string
+// statusCode: int
+//
+// body: *bytes | string
+// header <Name>: string | [...string]
+// trailer <Name>: string | [...string]
+// }
+// }
+//
+package http