pkg.re/essentialkaos/go-linenoise.v2 (go): Package linenoise wraps the linenoise library (https://github.com/antirez/linenoise).  The package is imported with "go-" prefix  Simple readline usage:  Adding lines to history, you could simply do this for every line you read.
Keywords: golang|linenoise|readline