dosanma1 / go-simple-web-server

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SIMPLE WEB SERVER WITH GOLANG

Overview

Simple web server with 3 routes:

  • /: Returns index.html
  • /form.html: Returns form.html
  • /hello: Returns a "Hello"

Installation

# go 1.18+
go get github.com/dosanma1/go-simple-web-server

go run main.go

About


Languages

Language:Go 65.3%Language:HTML 34.7%