Unittesting begins

This commit is contained in:
Bel LaPointe
2019-11-12 13:45:32 -07:00
commit 8c4bc81694
35 changed files with 3231 additions and 0 deletions

17
main.go Normal file
View File

@@ -0,0 +1,17 @@
package main
import (
"local/todo-server/config"
"local/todo-server/server"
"net/http"
)
func main() {
s := server.New()
if err := s.Routes(); err != nil {
panic(err)
}
if err := http.ListenAndServe(config.Port, s); err != nil {
panic(err)
}
}