mirror of
https://github.com/caddyserver/caddy.git
synced 2025-03-10 23:59:01 +01:00
readme: clarify about Go file to build Caddy (#2611)
This commit is contained in:
parent
a2ed91bc45
commit
c238b72d5d
1 changed files with 1 additions and 1 deletions
|
@ -93,7 +93,7 @@ There is no need to modify the Caddy code to build it with plugins. We will crea
|
||||||
|
|
||||||
<!-- TODO: This env variable will not be required starting with Go 1.13 -->
|
<!-- TODO: This env variable will not be required starting with Go 1.13 -->
|
||||||
1. Set the transitional environment variable for Go modules: `export GO111MODULE=on`
|
1. Set the transitional environment variable for Go modules: `export GO111MODULE=on`
|
||||||
2. Create a new folder anywhere, and put this Go file into it, then import the plugins you want to include:
|
2. Create a new folder anywhere and within create a Go file (extension `.go`) with the contents below, adjusting to import the plugins you want to include:
|
||||||
```go
|
```go
|
||||||
package main
|
package main
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue