modulepackage
0.0.0-20241012084802-c7d1b0a6759b
Repository: https://github.com/richardhoa/go-server.git
Documentation: pkg.go.dev
# README
Go Server Project
Overview
This project is a Go server that provides a welcoming page at the /app
endpoint. The server runs on localhost:8080
.
API Specification
The API documentation for this project is stored in the docs
folder under the file name API-GoServerBootdev.yaml
. You can view and interact with the API documentation using tools like Swagger UI, ReDoc, or any OpenAPI-compatible viewer.
Getting Started
Follow the steps below to set up and run the server locally.
Prerequisites
Ensure that you have Go installed on your system. You can download it from Go's official website.
Installation
- Clone the repository (if applicable):
git clone https://github.com/RichardHoa/go-server cd go-server/
- Remove any unnessary package
go mod tidy
- Start the server on localhost:8080
- Run the program directly
go run .
- Build the program and run it
go build . ./go-server