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 can't even make this work outside of sniprun though.
Go complains about relative paths not being a thing in module mode, not that I understand what it means...
Do you have a complete example that I could go run example.go (and then try to make work inside sniprun) ?
I can't even make this work outside of sniprun though. Go complains about relative paths not being a thing in module mode, not that I understand what it means...
Do you have a complete example that I could go run example.go (and then try to make work inside sniprun) ?
i am sorry , i just make a mistake. it is in go module.
go.mod
module test
go 1.19
main.go
package main
import . "main/foo"funcmain() {
Foo()
}
Describe the bug
i use dot report in .go file, it cant work fine.
To Reproduce
foo/foo.go content:
main.go content:
then i run SnipRun in line Foo(), and it cant compile fine.
Expected behavior
it can process the situation with dot import .
The text was updated successfully, but these errors were encountered: