Fix fsedsl installation instructions
The library is embedded in ollie, not published separately yet. Document how to use replace directives to import it.
This commit is contained in:
parent
5ec5f31135
commit
0d50898bd7
|
|
@ -13,8 +13,19 @@ A Go library providing an embedded domain-specific language (EDSL) for declaring
|
|||
|
||||
## Installation
|
||||
|
||||
The library is currently embedded in the [ollie](https://git.lneely.de/lkn/ollie) repository at `fsedsl/`.
|
||||
|
||||
To use it in your project, add a replace directive to your `go.mod`:
|
||||
|
||||
```bash
|
||||
go get git.lneely.de/lkn/fsedsl
|
||||
# Clone or copy the fsedsl directory to your project, then:
|
||||
go mod edit -replace=git.lneely.de/lkn/fsedsl=./fsedsl
|
||||
```
|
||||
|
||||
Or reference it directly from the ollie repo:
|
||||
|
||||
```bash
|
||||
go mod edit -replace=git.lneely.de/lkn/fsedsl=git.lneely.de/lkn/ollie/fsedsl@main
|
||||
```
|
||||
|
||||
## Integration Guide
|
||||
|
|
|
|||
Loading…
Reference in New Issue