🎉 initial commit

This commit is contained in:
2021-01-13 23:39:00 +01:00
commit 8e9cbe797c
9 changed files with 161 additions and 0 deletions

19
routes.auth.go Normal file
View File

@@ -0,0 +1,19 @@
package main
import (
"fmt"
"net/http"
)
func (s *server) handleIndex() http.HandlerFunc {
return func(rw http.ResponseWriter, r *http.Request) {
fmt.Fprintf(rw, "Welcome to Goflix")
}
}
func (s *server) handleRedirect() http.HandlerFunc {
return func(rw http.ResponseWriter, r *http.Request) {
}
}