18 lines
282 B
Go
18 lines
282 B
Go
|
package main
|
||
|
|
||
|
import (
|
||
|
"go/weather/internal"
|
||
|
"io/ioutil"
|
||
|
"net/http"
|
||
|
)
|
||
|
|
||
|
func main() {
|
||
|
|
||
|
http.Handler(func(rw http.ResponseWriter, r *http.Request) {
|
||
|
|
||
|
})
|
||
|
|
||
|
certFile := ioutil.ReadFile("./")
|
||
|
http.ListenAndServeTLS(internal.NewListenAddr("127.0.0.1", 443).String(), "", "", nil)
|
||
|
}
|