chore: makefile, http server command
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
package http
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"os"
|
||||
|
||||
"github.com/iliadenisov/galaxy/internal/router"
|
||||
)
|
||||
|
||||
func main() {
|
||||
r := router.NewRouter()
|
||||
if err := r.Run(); err != nil {
|
||||
fmt.Fprintln(os.Stderr, err)
|
||||
os.Exit(1)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user