🎉 initial commit
This commit is contained in:
19
routes.auth.go
Normal file
19
routes.auth.go
Normal 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) {
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user