Skip to content

Latest commit

 

History

History
 
 

graphql

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

Simple graphql example for Fiber with Fasthttp gqlgen

Usage

  • init your go module go mod init github.com/[username]/gqlgen-todos
  • install gqlgen go get github.com/99designs/gqlgen
  • replace with arsmn/gqlgen by adding this line in go.mod file
    replace github.com/99designs/gqlgen v0.13.0 => github.com/arsmn/gqlgen v0.13.2
  • build the server go run github.com/99designs/gqlgen init
  • implement the resolvers
  • run the server go run server.go
  • browse http://localhost:8080/ for playground
  • see more examples and documentation