github.com/dahs81/otto@v0.2.1-0.20160126165905-6400716cf085/builtin/app/go/meta.go (about) 1 package goapp 2 3 import ( 4 "github.com/hashicorp/otto/app" 5 "github.com/hashicorp/otto/appfile/detect" 6 ) 7 8 // Meta is the metadata for this app type 9 var Meta = &app.Meta{ 10 Tuples: Tuples, 11 Detectors: Detectors, 12 } 13 14 // Tuples is the list of tuples that this built-in app implementation knows 15 // that it can support. 16 var Tuples = app.TupleSlice([]app.Tuple{ 17 {"go", "aws", "simple"}, 18 {"go", "aws", "vpc-public-private"}, 19 }) 20 21 // Detectors is the list of detectors that trigger this app to be used. 22 var Detectors = []*detect.Detector{ 23 &detect.Detector{ 24 Type: "go", 25 File: []string{"*.go"}, 26 }, 27 }