0.1.7x testin

This commit is contained in:
Peder Vatn Austad
2024-05-23 18:52:25 +02:00
parent 69ee20b7aa
commit 41dddd1778
4 changed files with 23 additions and 2 deletions

3
test/go.mod Normal file
View File

@@ -0,0 +1,3 @@
module myapp
go 1.22.1

9
test/main.go Normal file
View File

@@ -0,0 +1,9 @@
package main
import (
"myapp/mypackage"
)
func main() {
mypackage.PrintHello()
}

7
test/mypackage/test.go Normal file
View File

@@ -0,0 +1,7 @@
package mypackage
import "fmt"
func PrintHello() {
fmt.Println("Hello, World!")
}