refactoring everything teehee (i'm so glad this isn't a team project)
Signed-off-by: ari melody <ari@arimelody.me>
This commit is contained in:
parent
c684f0c7ae
commit
10f5f51e76
17 changed files with 970 additions and 547 deletions
12
api/api.go
12
api/api.go
|
@ -1,12 +0,0 @@
|
|||
package api
|
||||
|
||||
import (
|
||||
"net/http"
|
||||
"html/template"
|
||||
)
|
||||
|
||||
func Handle(writer http.ResponseWriter, req *http.Request, root *template.Template) int {
|
||||
writer.WriteHeader(501)
|
||||
writer.Write([]byte("501 Not Implemented"))
|
||||
return 501;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue