mirror of
https://github.com/SourceFellows/gobuch.git
synced 2025-08-04 13:42:16 +02:00
initial import
This commit is contained in:
@ -0,0 +1,17 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"net/http"
|
||||
|
||||
"golang.source-fellows.com/samples/applicationx/http/rest"
|
||||
"golang.source-fellows.com/samples/applicationx/postgres"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
||||
us := &postgres.UserService{}
|
||||
|
||||
http.HandleFunc("/", rest.Handler(us))
|
||||
http.ListenAndServe(":8080", nil)
|
||||
|
||||
}
|
Reference in New Issue
Block a user