Initial setup
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
package hello_world
|
||||
|
||||
import (
|
||||
"runtime"
|
||||
|
||||
"golang.org/x/example/hello/reverse"
|
||||
)
|
||||
|
||||
func helloWorld() string {
|
||||
return "hello world"
|
||||
}
|
||||
|
||||
func helloWorldRev() string {
|
||||
return (reverse.String("hello world"))
|
||||
}
|
||||
|
||||
func getGoVersion() string {
|
||||
return (runtime.Version())
|
||||
}
|
||||
Reference in New Issue
Block a user