diff --git a/build/docs/content/05-url.md b/build/docs/content/05-url.md
index 900f91f5..16c42b83 100644
--- a/build/docs/content/05-url.md
+++ b/build/docs/content/05-url.md
@@ -81,7 +81,17 @@ $ curl --request POST \
### Go
-// TODO
+```golang
+import "github.com/thecodingmachine/gotenberg-go-client/v6"
+
+func main() {
+ c := &gotenberg.Client{Hostname: "http://localhost:3000"}
+ req := gotenberg.NewURLRequest("https://google.com")
+ req.AddRemoteURLHTTPHeader("Your-Header", "Foo")
+ dest := "result.pdf"
+ c.Store(req, dest)
+}
+```
### PHP
diff --git a/build/docs/content/10-webhook.md b/build/docs/content/10-webhook.md
index 2824e192..06c97f24 100644
--- a/build/docs/content/10-webhook.md
+++ b/build/docs/content/10-webhook.md
@@ -124,7 +124,17 @@ $ curl --request POST \
### Go
-// TODO
+```golang
+import "github.com/thecodingmachine/gotenberg-go-client/v6"
+
+func main() {
+ c := &gotenberg.Client{Hostname: "http://localhost:3000"}
+ req, _ := gotenberg.NewHTMLRequest("index.html")
+ req.WebhookURL("http://myapp.com/webhook/")
+ req.AddWebhookURLHTTPHeader("Your-Header", "Foo")
+ resp, _ := c.Post(req)
+}
+```
### PHP
diff --git a/docs/index.html b/docs/index.html
index 63fe13fe..95af3d47 100755
--- a/docs/index.html
+++ b/docs/index.html
@@ -949,7 +949,16 @@ canonical key for accept-encoding is Accept-Encoding.<
Go
-
// TODO
+import "github.com/thecodingmachine/gotenberg-go-client/v6" + +func main() { + c := &gotenberg.Client{Hostname: "http://localhost:3000"} + req := gotenberg.NewURLRequest("https://google.com") + req.AddRemoteURLHTTPHeader("Your-Header", "Foo") + dest := "result.pdf" + c.Store(req, dest) +} +
accept-encoding is Accept-Encoding.<
Go// TODO
+import "github.com/thecodingmachine/gotenberg-go-client/v6" + +func main() { + c := &gotenberg.Client{Hostname: "http://localhost:3000"} + req, _ := gotenberg.NewHTMLRequest("index.html") + req.WebhookURL("http://myapp.com/webhook/") + req.AddWebhookURLHTTPHeader("Your-Header", "Foo") + resp, _ := c.Post(req) +} +