simplemq/cmd/server/main.go

15 lines
168 B
Go

package main
import (
"net/http"
"simplemq/lib/server"
)
func main() {
server.Serve()
err := http.ListenAndServe(":8080", nil)
if err != nil {
panic(err)
}
}