Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Go Server

HTTP server handling form submission and serving static files, written in Go.

Project Structure

.
├── go.mod         # Go module define
├── main.go        # server code main
└── static/        # Static file directory
│  ├── form.html  # HTML form 
│  └── index.html # HTML landing page
└── Readme.md

Routes

  • / - landing page index.html in ./static directory
  • /hello (GET) - "Hello!" message
  • /form (POST) - Handles form submission

Running the Go Server

  • Clone the repository
  • Go to the project directory
  • Run the Server:
go run main.go

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages