chrismlee26 / go-http

Setting up a HTTP server in Go

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

HTTP Server in Go

  • Set up a HTTP server in Go
  • Serve static files
    • Image
    • Text
  • Templates

Go Packages:

  • "net/http"
  • "http.FileServer"

File System:

go.mod
main.go
public
├── about.html
├── css
│   └── format.css
├── img
│   └── test.jpeg
└── index.html
layout.html

About

Setting up a HTTP server in Go


Languages

Language:HTML 60.0%Language:Go 26.8%Language:CSS 13.1%