Skip to content
This repository has been archived by the owner on May 4, 2022. It is now read-only.

Commit

Permalink
pin Go version (#99)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sidney Kochman committed May 29, 2020
1 parent c1126d6 commit 53b520e
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions languages/go.toml
Expand Up @@ -11,11 +11,10 @@ aptRepos = [
]

packages = [
"golang-go",
"golang-1.14-go",
"pkg-config"
]
setup = [
"ln -s /usr/lib/go-1.11/bin/* /usr/bin",
"go get -u github.com/saibing/bingo"
]

Expand All @@ -38,6 +37,10 @@ command = [
code = "package main \nimport \"fmt\" \nfunc main() { \nfmt.Println(\"hello\") \n}"
output = "hello\n"

[tests.version]
code = "package main \nimport (\"fmt\" \n\"runtime\") \nfunc main(){fmt.Print(runtime.Version()[:7])}"
output = "go1.14."

[languageServer]
command = [
"/bin/bash",
Expand Down

0 comments on commit 53b520e

Please sign in to comment.