github.com/Desuuuu/genqlient@v0.5.3/generate/header.go.tmpl (about)

     1  // Code generated by github.com/Desuuuu/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}}