0.1.7xx testin sum mor

This commit is contained in:
Peder Vatn Austad
2024-05-23 18:55:51 +02:00
parent 41dddd1778
commit 5a0574134b
4 changed files with 4 additions and 13 deletions

View File

@@ -6,6 +6,7 @@ import (
"fmt" "fmt"
"log" "log"
"net/http" "net/http"
"ti1/test"
) )
type Data struct { type Data struct {
@@ -144,6 +145,8 @@ func main() {
log.Fatal(err) log.Fatal(err)
} }
test.PrintHello()
if 1 == 0 { if 1 == 0 {
printData(data) printData(data)
} }

View File

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

View File

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

View File

@@ -1,4 +1,4 @@
package mypackage package test
import "fmt" import "fmt"