user

package
v0.0.0-...-22ae45f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 3, 2016 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var UserType = gq.NewObject(gq.ObjectConfig{
	Name: "User",
	Fields: gq.Fields{
		"id": &gq.Field{
			Type: gq.String,
		},
		"username": &gq.Field{
			Type: gq.String,
		},
	},
})

Functions

This section is empty.

Types

type User

type User struct {
	ID       string `json:"id"`
	Username string `json:"username"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL