blob: 7477055930461c8f576a75c650c7b9e6f9ef59ed (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
package main
import (
"log"
"net/http"
)
func main() {
log.Printf("getwtxt v0.1\n")
http.HandleFunc("/api", apiHandler)
log.Fatalln(http.ListenAndServe(":666", nil))
}
|