starwars

package
v0.13.4 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2022 License: MIT Imports: 8 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

starwars example

This server demonstrates a few advanced features of graphql:

  • connections
  • unions
  • interfaces
  • enums

to run this server

go run ./example/starwars/server/server.go

and open http://localhost:8080 in your browser

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewResolver

func NewResolver() generated.Config

Types

type Resolver

type Resolver struct {
	// contains filtered or unexported fields
}

func (*Resolver) Droid

func (r *Resolver) Droid() generated.DroidResolver

func (*Resolver) FriendsConnection

func (r *Resolver) FriendsConnection() generated.FriendsConnectionResolver

func (*Resolver) Human

func (r *Resolver) Human() generated.HumanResolver

func (*Resolver) Mutation

func (r *Resolver) Mutation() generated.MutationResolver

func (*Resolver) Query

func (r *Resolver) Query() generated.QueryResolver

func (*Resolver) Starship

func (r *Resolver) Starship() generated.StarshipResolver

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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