-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
I noticed that the site didn't build when running from the `exampleDir` folder without vendoring. The main fix here is to correct the module path in exampleSite/go.mod -- but I find working with replace (or work files) directives in go.mod a much better setup in these scenearios.
- Loading branch information
Showing
3 changed files
with
12 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
module github.com/gethinode/hinode-test | ||
module github.com/gethinode/hinode/exampleSite | ||
|
||
go 1.19 | ||
|
||
require ( | ||
) | ||
replace github.com/gethinode/hinode => ../ | ||
|
||
require github.com/gethinode/hinode v0.22.5 // indirect |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters