Chris Bednarski
|
df6e535d57
|
Fix use of %s instead of %+v, from go 1.8 vet
|
2016-12-02 17:02:09 -08:00 |
|
Chris Bednarski
|
831904824c
|
Change parsing to return errors instead of silently truncating the hosts file; fixes #23
|
2016-11-25 10:47:05 -08:00 |
|
Chris Bednarski
|
69929e5749
|
Added tests for hostname formatting
|
2015-03-21 20:22:44 -07:00 |
|
Chris Bednarski
|
ead114987d
|
Changed Ip to IP for more consistent naming
|
2015-03-02 01:25:25 -08:00 |
|
Chris Bednarski
|
f5dea78ac3
|
Some preliminary work and a lot of commented code
|
2015-02-25 02:33:18 -08:00 |
|
Chris Bednarski
|
7a5ed98976
|
Added tests for Equal() EqualIp() and IsValid()
|
2015-02-24 23:06:30 -08:00 |
|
Chris Bednarski
|
ac2093932c
|
Changed ip from string to net.IP and changed hostnames to pointers
|
2015-02-24 04:17:31 -08:00 |
|
Chris Bednarski
|
8632ff2f9a
|
Moved other hostname test to hostname_test
|
2015-02-24 02:17:01 -08:00 |
|
Chris Bednarski
|
5d8bcfff3a
|
Separated some tests from the hostfile_test file
|
2015-02-24 02:15:23 -08:00 |
|