Skip to content

Commit

Permalink
hw1 - done
Browse files Browse the repository at this point in the history
  • Loading branch information
olya2209 committed Nov 4, 2024
1 parent cb67004 commit 96f298a
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
6 changes: 4 additions & 2 deletions hw01_hello_otus/go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
module github.com/fixme_my_friend/hw01_hello_otus
module github.com/olya2209/hw_otus

go 1.22
go 1.23.2

require golang.org/x/example/hello v0.0.0-20241014184706-d7b0ac127859
2 changes: 2 additions & 0 deletions hw01_hello_otus/go.sum
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
golang.org/x/example/hello v0.0.0-20241014184706-d7b0ac127859 h1:b1VUlwfZzs4kVS1ATswh6ugpOLEdbyIVOKwIk6zMiHw=
golang.org/x/example/hello v0.0.0-20241014184706-d7b0ac127859/go.mod h1:UhUKOXx5fMcLZxwL20DUrWWBBoRYG9Jvc8FiwZhRHCI=
8 changes: 7 additions & 1 deletion hw01_hello_otus/main.go
Original file line number Diff line number Diff line change
@@ -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!"))
}

0 comments on commit 96f298a

Please sign in to comment.