group

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: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var GroupType = gq.NewObject(gq.ObjectConfig{
	Name: "Group",
	Fields: gq.Fields{
		"id": &gq.Field{
			Type: gq.String,
		},
		"name": &gq.Field{
			Type: gq.String,
		},
		"users": &gq.Field{
			Type: gq.NewList(user.UserType),
		},
	},
})

Functions

This section is empty.

Types

type Group

type Group struct {
	ID    string      `json:"id"`
	Name  string      `json:"name"`
	Users []user.User `json:"users"`
}

Jump to

Keyboard shortcuts

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