Skip to content

Instantly share code, notes, and snippets.

@cmelgarejo
Created July 14, 2019 17:44
Show Gist options
  • Select an option

  • Save cmelgarejo/89005747cf91b5771c61ada2ea3e0bd3 to your computer and use it in GitHub Desktop.

Select an option

Save cmelgarejo/89005747cf91b5771c61ada2ea3e0bd3 to your computer and use it in GitHub Desktop.
$ ./scripts/run.sh
Start running: gql-server
[GIN-debug] [WARNING] Creating an Engine instance with the Logger and Recovery middleware already attached.
[GIN-debug] [WARNING] Running in "debug" mode. Switch to "release" mode in production.
- using env: export GIN_MODE=release
- using code: gin.SetMode(gin.ReleaseMode)
[GIN-debug] GET /ping --> github.com/cmelgarejo/go-gql-server/internal/handlers.Ping.func1 (3 handlers)
[GIN-debug] GET / --> github.com/cmelgarejo/go-gql-server/internal/handlers.PlaygroundHandler.func1 (3 handlers)
2019/07/13 23:28:38 GraphQL Playground @ http://localhost:7777/
[GIN-debug] POST /graphql --> github.com/cmelgarejo/go-gql-server/internal/handlers.GraphqlHandler.func1 (3 handlers)
2019/07/13 23:28:38 GraphQL @ http://localhost:7777/graphql
2019/07/13 23:28:38 Running @ http://localhost:7777
[GIN-debug] Listening and serving HTTP on localhost:7777
[GIN] 2019/07/13 - 23:28:39 | 200 | 486.646µs | 127.0.0.1 | GET /
[GIN] 2019/07/13 - 23:28:40 | 200 | 1.353992ms | 127.0.0.1 | POST /graphql
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment