Use vendor when building (#201)

* Use vendor code for all go calls

* Add missing vendor dependencies

* Add travis_retry to yarn install

* Fix go test call
This commit is contained in:
WithoutPants
2019-11-17 03:03:28 +11:00
committed by StashAppDev
parent 3e13103264
commit 6a75d5551f
89 changed files with 11022 additions and 14 deletions

15
vendor/github.com/99designs/gqlgen/codegen/generate.go generated vendored Normal file
View File

@@ -0,0 +1,15 @@
package codegen
import (
"github.com/99designs/gqlgen/codegen/templates"
)
func GenerateCode(data *Data) error {
return templates.Render(templates.Options{
PackageName: data.Config.Exec.Package,
Filename: data.Config.Exec.Filename,
Data: data,
RegionTags: true,
GeneratedHeader: true,
})
}