We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
The minimum required configuration is as shown in README.md, just declare an instance and call the ReadLine method.
ReadLine
package main import ( "context" "fmt" "github.com/nyaosorg/go-readline-ny" ) func main() { var editor readline.Editor text, err := editor.ReadLine(context.Background()) if err != nil { fmt.Printf("ERR=%s\n", err.Error()) } else { fmt.Printf("TEXT=%s\n", text) } }