Skip to content

Natsuki7777/go-graphql-test-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Generate graphql, Go test files

This is a tool to generate graphql, Go test files.
Mainly foucs on using this along with gqlgen.

Usage

Put your graphql schemas, queries, mutations, in input_graphqls folder. Then run go run main.go to generate graphql, Go test files. Output files will be in outputs folder.

Dependencies

Todos

  • Subscriptions
  • Use more Template than parsing text
  • Make it more configurable
  • Command line arguments
  • Use go generate instead of go run main.go

My environment

go version go1.19.1 linux/amd64

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages