Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hw01 hello otus #1

Merged
merged 5 commits into from
Apr 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Empty file removed hw01_hello_otus/.sync
Empty file.
4 changes: 3 additions & 1 deletion 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/otus_hw/hw01_hello_otus

go 1.19

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=
10 changes: 9 additions & 1 deletion hw01_hello_otus/main.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
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))
}
Loading