graphql

command
v0.0.0-...-73b4c3b Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

README

使用详情

代码生成命令

go run -mod=mod github.com/99designs/gqlgen generate --verbose

测试方式

  1. 运行服务
  2. 打开localhost:8080
  3. 创建和查询
mutation createTodo {
  createTodo(input: {text: "todo", userId: "2"}) {
    user {
      id
    }
    text
    done
  }
}

query findTodos {
  todos {
    text
    done
    user {
      name
    }
  }
}

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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