Skip to content

Latest commit

 

History

History
51 lines (38 loc) · 790 Bytes

README.md

File metadata and controls

51 lines (38 loc) · 790 Bytes

Go Lang GraphQL Server

👀 Easily create a new GoLang and GraphQL Server Using gqlgen

Run

Go run ./server.go

Queries

Mutation Query

mutation AddBike {
  createBike(input: {name:"BMW", isNewBike: true}){
    _id
    name
    isNewBike
  }
}

Mutation

FindOne Query

query findBike{
  bike(_id: "your_id") {
    name
    isNewBike
  }
}

FindOne

FindAll Query

query findAll{
  bikes{
    name
    isNewBike
  }
}

FindAll