Documentation ¶
Index ¶
Constants ¶
View Source
const HTTPTimeoutSec = 2
View Source
const METHOD = "POST"
View Source
const MUTATION = `mutation ($input: CreatePostInput!) {
createPost(input: $input) {
id
title
body
}
}`
View Source
const QUERY = `query {
post(id: 1) {
id
title
body
}
}`
View Source
const URL_GQL = "" // Your test url
Variables ¶
View Source
var MUTATION_INPUT = struct { Title string `json:"title,omitempty"` Body string `json:"body,omitempty"` }{ Title: "New Post Title", Body: "Some interesting content.", }
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.