Skip to content

Commit

Permalink
Merge pull request #266 from mhart/add-go1.x
Browse files Browse the repository at this point in the history
Add Go 1.x support
  • Loading branch information
PaulMaddox authored Jan 22, 2018
2 parents c4d34f2 + 2f3590a commit 3aeca93
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions runtime.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,13 +81,15 @@ var runtimeName = struct {
python27 string
python36 string
java8 string
go1x string
}{
nodejs: "nodejs",
nodejs43: "nodejs4.3",
nodejs610: "nodejs6.10",
python27: "python2.7",
python36: "python3.6",
java8: "java8",
go1x: "go1.x",
}

var runtimeImageFor = map[string]string{
Expand All @@ -97,6 +99,7 @@ var runtimeImageFor = map[string]string{
runtimeName.python27: "lambci/lambda:python2.7",
runtimeName.python36: "lambci/lambda:python3.6",
runtimeName.java8: "lambci/lambda:java8",
runtimeName.go1x: "lambci/lambda:go1.x",
}

// NewRuntimeOpt contains parameters that are passed to the NewRuntime method
Expand Down

0 comments on commit 3aeca93

Please sign in to comment.