simplemq/cmd/server/main.go

15 lines
168 B
Go
Raw Normal View History

2021-11-15 23:06:05 +00:00
package main
import (
"net/http"
"simplemq/lib/server"
)
func main() {
server.Serve()
err := http.ListenAndServe(":8080", nil)
if err != nil {
panic(err)
}
}