aboutsummaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorDimitri Sokolyuk <sokolyuk@gmail.com>2022-08-24 14:16:17 +0200
committerDimitri Sokolyuk <sokolyuk@gmail.com>2022-08-24 14:16:17 +0200
commit52be3f62da85d2e6a4bba77c234b181a14354523 (patch)
treebee25a59fe001bce71e0d8e07997033845b790d7 /main.go
parentcb3d5e76156cb87d14f048c1ef651b9674e865a5 (diff)
cleanup
Diffstat (limited to 'main.go')
-rw-r--r--main.go10
1 files changed, 2 insertions, 8 deletions
diff --git a/main.go b/main.go
index 21d17e7..0badd88 100644
--- a/main.go
+++ b/main.go
@@ -3,18 +3,12 @@ package main
import (
"fmt"
"os"
- "os/user"
"monkey/repl"
)
func main() {
- user, err := user.Current()
- if err != nil {
- panic(err)
- }
- fmt.Printf("Hello %s! This is the Monkey programming language!\n",
- user.Username)
- fmt.Printf("Feel free to type in commands\n")
+ fmt.Println("This is the Monkey programming language!")
+ fmt.Println("Feel free to type in commands")
repl.Start(os.Stdin, os.Stdout)
}