Files
oauth20/routes.auth.go
2021-01-13 23:39:00 +01:00

20 lines
312 B
Go

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) {
}
}