Skip to content

Commit

Permalink
HW1 is completed
Browse files Browse the repository at this point in the history
  • Loading branch information
DimVlas authored and DimVlas committed Mar 30, 2024
1 parent 14c3130 commit 6a30f21
Show file tree
Hide file tree
Showing 3 changed files with 17 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/DimVlas/hw01_hello_otus

go 1.19
go 1.22.1

require golang.org/x/example v0.0.0-20230731131755-00c7068f9d83
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 v0.0.0-20230731131755-00c7068f9d83 h1:KSJNczWPMSIv4ElerdzbAYkA2HtgIW7V5W/CV1WZbto=
golang.org/x/example v0.0.0-20230731131755-00c7068f9d83/go.mod h1:KFX5xa4DwLf1GiLuHJgXnyZXDMwGCCRuKM9Z0r1oAsY=
12 changes: 11 additions & 1 deletion hw01_hello_otus/main.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
package main

import (
"fmt"

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

const (
HelloStr string = "Hello, OTUS!"
)

func main() {
// Place your code here.
fmt.Println(stringutil.Reverse(HelloStr))
}

0 comments on commit 6a30f21

Please sign in to comment.