docs: add simple Go guide

Signed-off-by: Tanguy ⧓ Herrmann <tanguy@dagger.io>
This commit is contained in:
Tanguy ⧓ Herrmann
2022-04-13 16:30:28 +02:00
parent 3750422a55
commit f744996556
6 changed files with 96 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
package greeting
import "fmt"
func Greeting(name string) string {
return fmt.Sprintf("Hi %s!", name)
}