Skip to content

Commit

Permalink
style: playground endpoint on startup
Browse files Browse the repository at this point in the history
  • Loading branch information
kareemmahlees committed Oct 3, 2023
1 parent 5eab0a2 commit cde0607
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,8 @@ func main() {

fmt.Println(utils.NewStyle("REST", "#4B87FF"), fmt.Sprintf("http://localhost:%d", port))
fmt.Println(utils.NewStyle("Swagger", "#0EEBA1"), fmt.Sprintf("http://localhost:%d/swagger", port))
fmt.Println(utils.NewStyle("GraphQl", "#FF70FD"), fmt.Sprintf("http://localhost:%d/graphql\n", port))
fmt.Println(utils.NewStyle("GraphQl", "#FF70FD"), fmt.Sprintf("http://localhost:%d/graphql", port))
fmt.Println(utils.NewStyle("Playground", "#B6B5B5"), fmt.Sprintf("http://localhost:%d/playground\n", port))

if err := app.Listen(fmt.Sprintf(":%d", port)); err != nil {
log.Error(err)
Expand Down

0 comments on commit cde0607

Please sign in to comment.