From 5edadff2c7127304d1173c73c38165397ba02ff2 Mon Sep 17 00:00:00 2001 From: Jason Song Date: Wed, 29 Apr 2020 01:07:59 +0800 Subject: [PATCH] docs: update library usage (#8) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 58b7a2a..36390a1 100644 --- a/README.md +++ b/README.md @@ -103,7 +103,7 @@ builder := xcaddy.Builder{ }, }, } -err := builder.Build("./caddy") +err := builder.Build(context.Background(), "./caddy") ``` Versions can be anything compatible with `go get`.