Skip to content

Commit

Permalink
Add go generate for examples so contributors never forget (#2859)
Browse files Browse the repository at this point in the history
Signed-off-by: Steve Coffman <steve@khanacademy.org>
  • Loading branch information
StevenACoffman committed Dec 10, 2023
1 parent e080a96 commit 682a58d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions main.go
@@ -1,5 +1,7 @@
package main

//go:generate go generate ./_examples/...

import (
"bytes"
_ "embed"
Expand Down
3 changes: 2 additions & 1 deletion plugin/plugin.go
Expand Up @@ -3,9 +3,10 @@
package plugin

import (
"github.com/vektah/gqlparser/v2/ast"

"github.com/99designs/gqlgen/codegen"
"github.com/99designs/gqlgen/codegen/config"
"github.com/vektah/gqlparser/v2/ast"
)

type Plugin interface {
Expand Down

0 comments on commit 682a58d

Please sign in to comment.