reorgniaze the repo

This commit is contained in:
vinchent 2024-09-10 11:47:40 +02:00
parent b50e202a97
commit 268677b9ad
3 changed files with 7 additions and 11 deletions

2
go.mod
View File

@ -1,3 +1,3 @@
module hello module gobytest
go 1.22.5 go 1.22.5

View File

@ -1,8 +1,4 @@
package main package helloworld
import (
"fmt"
)
const ( const (
english = "English" english = "English"
@ -48,7 +44,7 @@ func Hello(name, language string) string {
return prefix + name return prefix + name
} }
func main() { // func main() {
initDefaults() // initDefaults()
fmt.Println(Hello("Mary", "English")) // fmt.Println(Hello("Mary", "English"))
} // }

View File

@ -1,4 +1,4 @@
package main package helloworld
import "testing" import "testing"