github.com/ChrisWiegman/goodhosts (go): A small Go module and CLI application  for editing your hosts file with single entries or blocks of entries.
Keywords: golang|hosts|hostsfile