iris/_future/ipel/main.go
Gerasimos (Makis) Maropoulos a95a02a16a Nothing special here (yet)
Former-commit-id: 826d7c370481b78afd9ba92f4ae8bef1fb85a567
2017-03-27 04:09:44 +03:00

21 lines
342 B
Go

package main
import (
"fmt"
"os"
"os/user"
"gopkg.in/kataras/iris.v6/_future/ipel/repl"
)
func main() {
user, err := user.Current()
if err != nil {
panic(err)
}
fmt.Printf("Hello %s! This is the Iris Path Expression Language!\n",
user.Username)
fmt.Printf("Feel free to type in commands\n")
repl.Start(os.Stdin, os.Stdout)
}