remove comment and fix line highlight
parent
7265438890
commit
51f4ad5184
|
|
@ -22,7 +22,7 @@ require (
|
|||
github.com/satori/go.uuid v1.2.0
|
||||
)
|
||||
|
||||
replace github.com/gobuffalo/packr => github.com/gobuffalo/packr v2.8.0 # now points at a different version
|
||||
replace github.com/gobuffalo/packr => github.com/gobuffalo/packr v2.8.0
|
||||
```
|
||||
|
||||
Now when you build your go app, it will use `v2.8.0` of packr in place of the version specified in the `require` block.
|
||||
|
|
@ -31,7 +31,7 @@ But what if you want to use it similarly to `npm link`, where you want to replac
|
|||
|
||||
Run the same command but omit the `@version` on the new package like so:
|
||||
|
||||
```bash {hl_lines=[16]}
|
||||
```bash {hl_lines=[15]}
|
||||
# clone your own copy and make some edits at ~/projects/packr
|
||||
$ cd ~/projects && git clone https://github.com/gobuffalo/packr
|
||||
$ cd ~/projects/riffraff && go mod edit -replace github.com/gobuffalo/packr=../packr
|
||||
|
|
|
|||
Loading…
Reference in New Issue