mirror of
https://github.com/caddyserver/xcaddy.git
synced 2024-11-13 21:00:04 +00:00
docs: update library usage (#8)
This commit is contained in:
parent
262a495997
commit
5edadff2c7
1 changed files with 1 additions and 1 deletions
|
@ -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`.
|
||||
|
|
Loading…
Reference in a new issue