docs: update library usage (#8)

This commit is contained in:
Jason Song 2020-04-29 01:07:59 +08:00 committed by GitHub
parent 262a495997
commit 5edadff2c7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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`.