Versions in this module Expand all Collapse all v1 v1.0.0 May 3, 2015 Changes in this version + type Hosts struct + Lines []HostsLine + Path string + func NewHosts() Hosts + func (h *Hosts) AddEntry(ip string, host string) + func (h *Hosts) Load() error + func (h *Hosts) RemoveEntry(ip string, host string) error + func (h Hosts) Flush() error + func (h Hosts) HasEntry(ip string, host string) (bool, error) + type HostsLine struct + Hosts []string + Ip string + Raw string + func NewHostsLine(raw string) HostsLine + func (l HostsLine) IsComment() bool Incompatible versions in this module v2.1.0+incompatible Jun 8, 2015 Other modules containing this package gitea.chriswiegman.com/ChrisWiegman/goodhosts/v4