mirror of
https://github.com/kataras/iris.git
synced 2025-01-24 19:21:03 +01:00
a95a02a16a
Former-commit-id: 826d7c370481b78afd9ba92f4ae8bef1fb85a567
21 lines
342 B
Go
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)
|
|
}
|