Golang import issue .

86 views
Skip to first unread message

Sunday Ajayi

unread,
Jul 19, 2022, 12:14:15 PM7/19/22
to golang-nuts
Hi Team,

I am having an issue import functions into another.

Attached is the error and my directory and code structure.


Regards,
1658218975895.JPEG
1658218975867.JPEG
1658218975942.JPEG
1658218975837.JPEG

Gopal M

unread,
Jul 19, 2022, 8:47:35 PM7/19/22
to Sunday Ajayi, golang-nuts
Hi Sunday Ajayi,

Pl avoid screenshots... :-)
Finding it difficult to decode / Seems to be no full information available to understand.

Will you be able to send the zipped project ?

--
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/4dfaed27-d123-4eab-b70e-02e0cdb05091n%40googlegroups.com.


--
Regards,
M. Gopal

Martin Schnabel

unread,
Jul 20, 2022, 2:50:04 AM7/20/22
to golan...@googlegroups.com
Hi Sunday,

please do send neither screenshots nor zipped project folders to a
mailing list of thousands.

My guess is that your projects go.mod file does not declare your project
name to be movie_project. In any case it would be helpful for you to
follow a hello world tutorial:

https://go.dev/doc/tutorial/getting-started

On 7/20/22 02:46, Gopal M wrote:
> Hi Sunday Ajayi,
>
> Pl avoid screenshots... :-)
> Finding it difficult to decode / Seems to be no full information
> available to understand.
>
> Will you be able to send the zipped project ?
>
> On Tue, Jul 19, 2022 at 9:44 PM Sunday Ajayi <sunne...@gmail.com
> <mailto:sunne...@gmail.com>> wrote:
>
> Hi Team,
>
> I am having an issue import functions into another.
>
> Attached is the error and my directory and code structure.
>
>
> Regards,
>
> --
> You received this message because you are subscribed to the Google
> Groups "golang-nuts" group.
> To unsubscribe from this group and stop receiving emails from it,
> send an email to golang-nuts...@googlegroups.com
> <mailto:golang-nuts...@googlegroups.com>.
> <https://groups.google.com/d/msgid/golang-nuts/4dfaed27-d123-4eab-b70e-02e0cdb05091n%40googlegroups.com?utm_medium=email&utm_source=footer>.
>
>
>
> --
> Regards,
> M. Gopal
>
> --
> You received this message because you are subscribed to the Google
> Groups "golang-nuts" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to golang-nuts...@googlegroups.com
> <mailto:golang-nuts...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/golang-nuts/CAB-EHXC%3DMYe8N%3Ddf_XCcnj5f9cwBC3xON6ALQptcaxsHZCZbFg%40mail.gmail.com
> <https://groups.google.com/d/msgid/golang-nuts/CAB-EHXC%3DMYe8N%3Ddf_XCcnj5f9cwBC3xON6ALQptcaxsHZCZbFg%40mail.gmail.com?utm_medium=email&utm_source=footer>.
Reply all
Reply to author
Forward
0 new messages