- Navigate to the Project Directory
Open a terminal and navigate to the directory containing the Go application.
cd biasharaid- Initialized go.mod on the root of the project using the below command
go mod init github.com/kh3rld/biasharaid-
Navigate to
webdirectorycd web -
Run the Application
go run main.goThe application will start and listen on port 8080.
Once the server is running, you can access it via a web browser through this url:
http://localhost:8080/status