You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a Go module that's in a private repository. This Go module has a function "SetupRouter" that takes in a *gin.Engine, and has html templates that it attempts to serve via it's own routes. The Go module loads the html templates fine when ran as a standalone program, but it crashes when I import the module into another Go app.
Description
I have a Go module that's in a private repository. This Go module has a function "SetupRouter" that takes in a *gin.Engine, and has html templates that it attempts to serve via it's own routes. The Go module loads the html templates fine when ran as a standalone program, but it crashes when I import the module into another Go app.
How to reproduce
Module file dir
Module code to load html
Main app
Expectations
The html files are loaded successfully.
Actual result
Environment
The text was updated successfully, but these errors were encountered: