commit 8ce7009ed0d4c2dfe8be51321502882d7d9243b6 Author: Pierre HUBERT Date: Thu Apr 9 17:32:16 2020 +0200 Initial commit diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..2978dcf --- /dev/null +++ b/.vscode/launch.json @@ -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": [] + } + ] +} \ No newline at end of file diff --git a/config.go b/config.go new file mode 100644 index 0000000..94dae1c --- /dev/null +++ b/config.go @@ -0,0 +1,6 @@ +package main + +// Value Main value +func Name() string { + return "pierre" +} diff --git a/main.go b/main.go new file mode 100644 index 0000000..1fc419b --- /dev/null +++ b/main.go @@ -0,0 +1,9 @@ +package main + +import ( + "fmt" +) + +func main() { + fmt.Println("secret", Name()) +} diff --git a/run.sh b/run.sh new file mode 100755 index 0000000..8e25426 --- /dev/null +++ b/run.sh @@ -0,0 +1,2 @@ +#!/bin/bash +go run *