Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Golang Server Test

GoLang Icon

The project is a simple web server implemented in GoLang. It serves a static HTML page (index.html) files from a static directory. This server demonstrates basic routing and static file serving capabilities using Go's built-in HTTP server functionalities.

Installation

Make sure you have Go installed. You can download it from golang.org.

Clone the repository:

git clone https://github.com/yourusername/yourproject.git
cd yourproject

Usage

To run the server:

go run main.go

This will start the server on localhost:8080.

Project Structure

projeto/
├── main.go
└── static/
    ├── index.html
  • main.go: Main Go file containing the server code.
  • static/: Folder containing static files served by the server.
    • index.html: Main HTML file served at the root endpoint.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

MIT

About

Golang Server test

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages