Co-authored-by: stcb <21@stcb.cc> Reviewed-on: icing/G-EIP-700-TLS-7-1-eip-stephane.corbiere#4 Co-authored-by: ange <ange@yw5n.com> Co-committed-by: ange <ange@yw5n.com>
15 lines
209 B
Go
15 lines
209 B
Go
package main
|
|
|
|
import (
|
|
"log"
|
|
"net/http"
|
|
)
|
|
|
|
func main() {
|
|
http.HandleFunc("/", route)
|
|
generateTmpl()
|
|
if err := http.ListenAndServe(":3000", nil); err != nil {
|
|
log.Fatal(err)
|
|
}
|
|
}
|