Skip to content

Commit

Permalink
fix: Go's module loader disallows |
Browse files Browse the repository at this point in the history
golang/go#28001

This causes our scaffolding directories to fail. A temporary workaround
is to add a go.mod file to each directory with templates.
  • Loading branch information
alecthomas committed Oct 20, 2023
1 parent ef71d34 commit 9ef0ca0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions go-runtime/scaffolding/go.mod
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
// This needs to exist so that the Go toolchain doesn't include this directory. Annoying.
module exclude

go 1.21.3
4 changes: 4 additions & 0 deletions kotlin-runtime/scaffolding/go.mod
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
// This needs to exist so that the Go toolchain doesn't include this directory. Annoying.
module exclude

go 1.21.3

0 comments on commit 9ef0ca0

Please sign in to comment.