-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #53 from vektah/docs
Docs
- Loading branch information
Showing
17 changed files
with
720 additions
and
401 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,3 +10,6 @@ indent_size = 4 | |
|
||
[*.{go,gotpl}] | ||
indent_style = tab | ||
|
||
[*.{yml,md}] | ||
indent_size = 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
/internal/tests/testdata/graphql-js | ||
/vendor | ||
/docs/public |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
baseurl: https://vektah.github.io/gqlgen/ | ||
metadataformat: yaml | ||
title: gqlgen | ||
enableGitInfo: true | ||
pygmentsCodeFences: true | ||
pygmentsUseClasses: true | ||
|
||
params: | ||
name: gqlgen | ||
description: graphql servers the easy way | ||
|
||
menu: | ||
main: | ||
- name: Tutorials | ||
identifier: tutorial | ||
weight: 10 | ||
- name: Reference | ||
identifier: reference |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
--- | ||
title: Introduction | ||
description: Type-safe graphql for golang | ||
type: homepage | ||
menu: main | ||
weight: 10 | ||
date: 2018-03-17T13:06:47+11:00 | ||
--- | ||
|
||
## What is gqlgen? | ||
|
||
[gqlgen](https://github.com/vektah/gqlgen) is golang library for building graphql servers without any fuss. gqlgen is: | ||
|
||
- Schema first: You define your API using the graphql [Schema Definition Language](http://graphql.org/learn/schema/) | ||
- Type safe: You should never see `map[string]interface{}` here. | ||
- Codegen: Let us generate the boring bits, so you can build your app quickly. | ||
|
||
|
||
## Getting started | ||
|
||
First take a look at the [Getting Started](tutorial/getting-started) tutorial. | ||
|
||
If you cant find what your looking for, maybe the [examples](https://github.com/vektah/gqlgen/tree/master/example) will help. | ||
|
||
|
||
## Getting help | ||
|
||
If you think you've found bug, or something isnt behaving the way you think it should please raise an [issue](https://github.com/vektah/gqlgen/issues) on github. |
Oops, something went wrong.