Skip to content

x893675/graphql-sample

Repository files navigation

graphql-sample

依赖库

request test

  1. create question
mutation CreateQuestion {
    CreateQuestion(question: { title: "which language is the fatest?", options: [{
        title: "Go",
        position: 1,
        isCorrect: true
    }, {
        title: "java",
        position: 2,
        isCorrect: false
    }, {
        title: "c#",
        position: 3,
        isCorrect: false
    }]}) {
        message
        status
        data {
            id
            title
        }
    }
}

About

golang graphql sample

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages