Skip to content

Commit

Permalink
hw01
Browse files Browse the repository at this point in the history
  • Loading branch information
DimVlas authored and DimVlas committed Oct 7, 2024
1 parent bdf36c6 commit 3327c41
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion hw01_hello_otus/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ module github.com/DimVlas/otus_hw/hw01_hello_otus

go 1.22

require golang.org/x/example v0.0.0-20230731131755-00c7068f9d83
require golang.org/x/example/hello v0.0.0-20240925201653-1a5e218e5455
4 changes: 2 additions & 2 deletions hw01_hello_otus/go.sum
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
golang.org/x/example v0.0.0-20230731131755-00c7068f9d83 h1:KSJNczWPMSIv4ElerdzbAYkA2HtgIW7V5W/CV1WZbto=
golang.org/x/example v0.0.0-20230731131755-00c7068f9d83/go.mod h1:KFX5xa4DwLf1GiLuHJgXnyZXDMwGCCRuKM9Z0r1oAsY=
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=
4 changes: 2 additions & 2 deletions hw01_hello_otus/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ package main
import (
"fmt"

stringutil "golang.org/x/example/stringutil"
reverse "golang.org/x/example/hello/reverse"
)

const HelloStr string = "Hello, OTUS!"

func main() {
fmt.Println(stringutil.Reverse(HelloStr))
fmt.Println(reverse.String(HelloStr))
}

0 comments on commit 3327c41

Please sign in to comment.