Initial dumb servers

This commit is contained in:
Bel LaPointe
2019-03-14 14:43:02 -06:00
commit 1f679f4c06
10 changed files with 381 additions and 0 deletions

24
server/main.go Normal file
View File

@@ -0,0 +1,24 @@
package main
import (
"local/dynamodb/server/config"
"local/dynamodb/server/serve"
"log"
)
func main() {
if err := config.New(); err != nil {
panic(err)
}
log.Printf("config: %s", config.Values().String())
server := serve.New()
if err := server.Routes(); err != nil {
panic(err)
}
if err := server.Run(); err != nil {
panic(err)
}
}