Opening a terminal?
Using cd to navigate to the folder that contains your sources?
Running a modified to your needs go run filename?
Showing us the output of that command?
Getting a files content on screen via cat filename?
I’m happy to guide you as best as I can, but as I do not have access to your system, you will have to fill in the gaps for me, like filenames and pathes.
If you do not know how to copy and paste what you see in your terminal, thats fine, just upload a screenshot.
You said you wanted to run the code you have already written in eclipse. So only you know where that file is stored. And exactly that’s the place where you need to cd into.
That file is what we need to see.
Also we need to know it’s name, it’s location and the command you use to run it using go run.
You can not use that package name for a program you want to run. Runnable programs are required to have package main and also a main function. Your package has the wrong name.
Yesterday, I couldn’t answer anymore, because I ran out of replies for the first day in the forum. Is the file name wrong then? The name is causing it not to compile?