mirror of
https://gitea.dmz.rs/Decentrala/workshops.git
synced 2026-07-11 05:52:31 +02:00
21 lines
234 B
Go
21 lines
234 B
Go
//go:build exclude
|
|
package main
|
|
|
|
import (
|
|
"net/http"
|
|
)
|
|
|
|
func main() {
|
|
|
|
// web server
|
|
|
|
http.HandleFunc("/", a )
|
|
http.ListenAndServe(":8080", nil)
|
|
|
|
}
|
|
|
|
func a(w http.ResponseWriter, r *http.Request){
|
|
w.Write([]byte("Hello Web"))
|
|
}
|
|
|