aboutsummaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
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)
}