Brief description
In the file main.go, line 44 there is a commented out line that sets rootPath to ".", and in line 43 we set it to "/data/www/go-admin-en" which is incorrect unless you are using this folder as your working directory.
It would be better if the rootPath variable was set by default to "."
#Link
|
rootPath := "/data/www/go-admin-en" |
Brief description
In the file
main.go, line 44 there is a commented out line that setsrootPathto ".", and in line 43 we set it to "/data/www/go-admin-en" which is incorrect unless you are using this folder as your working directory.It would be better if the
rootPathvariable was set by default to "."#Link
demo.go-admin.com/main.go
Line 43 in 631b3c7