0.1.7xx testin sum mor
This commit is contained in:
3
main.go
3
main.go
@@ -6,6 +6,7 @@ import (
|
||||
"fmt"
|
||||
"log"
|
||||
"net/http"
|
||||
"ti1/test"
|
||||
)
|
||||
|
||||
type Data struct {
|
||||
@@ -144,6 +145,8 @@ func main() {
|
||||
log.Fatal(err)
|
||||
}
|
||||
|
||||
test.PrintHello()
|
||||
|
||||
if 1 == 0 {
|
||||
printData(data)
|
||||
}
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
module myapp
|
||||
|
||||
go 1.22.1
|
||||
@@ -1,9 +0,0 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"myapp/mypackage"
|
||||
)
|
||||
|
||||
func main() {
|
||||
mypackage.PrintHello()
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
package mypackage
|
||||
package test
|
||||
|
||||
import "fmt"
|
||||
|
||||
Reference in New Issue
Block a user