diff --git a/hw01_hello_otus/go.mod b/hw01_hello_otus/go.mod index bf7b900..cd9c64e 100644 --- a/hw01_hello_otus/go.mod +++ b/hw01_hello_otus/go.mod @@ -1,3 +1,5 @@ -module github.com/fixme_my_friend/hw01_hello_otus +module github.com/timersha/hw01_hello_otus go 1.22 + +require golang.org/x/example/hello v0.0.0-20240925201653-1a5e218e5455 diff --git a/hw01_hello_otus/go.sum b/hw01_hello_otus/go.sum new file mode 100644 index 0000000..cdc0bef --- /dev/null +++ b/hw01_hello_otus/go.sum @@ -0,0 +1,2 @@ +golang.org/x/example/hello v0.0.0-20240925201653-1a5e218e5455 h1:M97qpAJu3kht1X9fBEBQkDpZ6gpvvv1zkcRSnJuu7Oc= +golang.org/x/example/hello v0.0.0-20240925201653-1a5e218e5455/go.mod h1:UhUKOXx5fMcLZxwL20DUrWWBBoRYG9Jvc8FiwZhRHCI= diff --git a/hw01_hello_otus/main.go b/hw01_hello_otus/main.go index 1eca213..8b2a456 100644 --- a/hw01_hello_otus/main.go +++ b/hw01_hello_otus/main.go @@ -1,5 +1,11 @@ package main +import ( + "fmt" + + "golang.org/x/example/hello/reverse" +) + func main() { - // Place your code here. + fmt.Println(reverse.String("Hello, OTUS!")) }