Remove setup function call
This commit is contained in:
parent
c99d8aaf80
commit
b0d76a12b7
1
main.go
1
main.go
|
@ -349,7 +349,6 @@ func rawHandler(w http.ResponseWriter, r *http.Request) {
|
||||||
}
|
}
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
setup()
|
|
||||||
router := mux.NewRouter()
|
router := mux.NewRouter()
|
||||||
router.HandleFunc("/p/{pasteId}", pasteHandler)
|
router.HandleFunc("/p/{pasteId}", pasteHandler)
|
||||||
router.HandleFunc("/raw/{pasteId}", rawHandler)
|
router.HandleFunc("/raw/{pasteId}", rawHandler)
|
||||||
|
|
Loading…
Reference in New Issue