github.com/opiuman/genqlient@v1.0.0/generate/header.go.tmpl (about) 1 // Code generated by github.com/opiuman/genqlient, DO NOT EDIT. 2 3 package {{.Config.Package}} 4 5 {{.Imports}} 6 7 {{if and (ne .Config.ContextType "-") (ne .Config.ContextType "context.Context") }} 8 // Check that context_type from genqlient.yaml implements context.Context. 9 var _ {{ref "context.Context"}} = ({{ref .Config.ContextType}})(nil) 10 {{end}}