index.go 288 B

1234567891011121314151617
  1. package controllers
  2. import (
  3. "fmt"
  4. "net/http"
  5. )
  6. // Index entry point
  7. func Index(w http.ResponseWriter, r *http.Request) {
  8. fmt.Fprintln(w, "Welcome!")
  9. }
  10. // NotImplemented placeholder
  11. func NotImplemented(w http.ResponseWriter, r *http.Request) {
  12. w.Write([]byte("Not Implemented"))
  13. }