define
                                
                                 define copied to clipboard
                                
                                    define copied to clipboard
                            
                            
                            
                        Feature - DICT protocol "source" with configurable servers
There exists a standard protocol for accessing remote dictionary services. While it's quite old in design, it was purposefully designed for clients/applications such as define.
A generic DICT protocol "source"/provider could potentially be added to define with a configurable list of servers, depending on how complex the access and data parsing (into structures) would be.
More info here (for later reference):
- https://tools.ietf.org/html/rfc2229
- https://en.wikipedia.org/wiki/DICT
- http://www.dict.org/links.html
- https://linux.die.net/man/1/dict
Ah ha! It seems that there's actually a supplemental/experimental package for the DICT protocol for Go already!
- golang.org/x/net/dict
- https://godoc.org/golang.org/x/net/dict
- https://github.com/golang/net/tree/6078986fec03a1dcc236c34816c71b0e05018fda/dict