Initial commit

This commit is contained in:
Pierre HUBERT 2020-04-09 17:32:16 +02:00
commit 8ce7009ed0
4 changed files with 34 additions and 0 deletions

17
.vscode/launch.json vendored Normal file
View File

@ -0,0 +1,17 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Launch",
"type": "go",
"request": "launch",
"mode": "auto",
"program": "${fileDirname}",
"env": {},
"args": []
}
]
}

6
config.go Normal file
View File

@ -0,0 +1,6 @@
package main
// Value Main value
func Name() string {
return "pierre"
}

9
main.go Normal file
View File

@ -0,0 +1,9 @@
package main
import (
"fmt"
)
func main() {
fmt.Println("secret", Name())
}

2
run.sh Executable file
View File

@ -0,0 +1,2 @@
#!/bin/bash
go run *