This is an example of the Eliza chatbot coded in Go for demonstration to students at GMIT. The lecturer is Ian McLoughlin.
The code here is adapted from smallsurething.com. The code here can be easily adapted into a library.
Go must be installed to run the code. Then compile and run the program as follows.
$ go build eliza.go
$ ./eliza