which does seem correct. However, during runtime, it can't find the templates and throws the following error:
[marcel@o2 ~]$ ./scribblers
panic: exit status 1: go: cannot find main module; see 'go help modules'
goroutine 1 [running]:
github.com/scribble-rs/scribble.rs/communication.readTemplateFile(0x8a609e, 0xa, 0x0, 0x0)
/home/marcel/code/scribble.rs/communication/init.go:71 +0x1e0
github.com/scribble-rs/scribble.rs/communication.init.0()
/home/marcel/code/scribble.rs/communication/init.go:22 +0x5d
The executable has been built with go build -o scribblers . and the pkged.go file was available and up-to-date, since i deleted it and created it freshly before building.
I even explicitly specified the output folder with -o.
If I specify every path as github.com/scribble-rs/sribble.rs:/XXX it works. E.g. I have to use the full module path every time. Is this how it should be?
Hey,
I am trying to use pkger for https://github.com/scribble-rs/scribble.rs
I have two folders I am trying to include, those being "resources" and "templates.
The following is displayed when running
pkger list
:which does seem correct. However, during runtime, it can't find the templates and throws the following error:
The executable has been built with
go build -o scribblers .
and thepkged.go
file was available and up-to-date, since i deleted it and created it freshly before building. I even explicitly specified the output folder with-o
.Is there anything I am not seeing here?