Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can't find the right package #1063

Closed
JessonChan opened this issue Dec 16, 2021 · 0 comments
Closed

can't find the right package #1063

JessonChan opened this issue Dec 16, 2021 · 0 comments

Comments

@JessonChan
Copy link
Member

The following program sample.gop triggers an unexpected result

// add a sample
import "github.com/xhit/go-simple-mail/v2"

println mail.Email{}

Expected result

ackage main

import (
	fmt "fmt"
	mail "github.com/xhit/go-simple-mail/v2"
)

func main() {
	fmt.Println(mail.Email{})
}

Got

undefined: mail


goroutine 1 [running]:
log.Panicln({0x14000149c48, 0x1, 0x1})
	/usr/local/go/src/log/log.go:368 +0x98
github.com/goplus/gop/x/gopmod.(*Context).GoCommand(0x1400001eed0, {0x1027e0a72, 0x3}, 0x14000112f50)

Gop Version

gop v1.0.x darwin/arm64

Additional Notes

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants