generated from OtusGolang/home_work
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from DimVlas/hw01_hello_otus
Первое ДЗ: "Hello, OTUS!"
- Loading branch information
Showing
4 changed files
with
14 additions
and
2 deletions.
There are no files selected for viewing
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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)) | ||
} |