Chris Bednarski
|
b1645b0f35
|
Fixed a sort bug and added some more tests
|
2015-03-02 01:46:12 -08:00 |
|
Chris Bednarski
|
3639cfd93b
|
More docs, fixed naming inconsistencies, moved formatting to Hostname methods
|
2015-03-02 00:55:34 -08:00 |
|
Chris Bednarski
|
3f456113bc
|
Added Hostname.Equal() .EqualIp() and .IsValid()
IsValid provides error-checking in a non-intrusive way
|
2015-02-24 23:05:45 -08:00 |
|
Chris Bednarski
|
9e82a4a331
|
Changed interface to NewHostname not to return error
This is more succinct for most uses.
|
2015-02-24 23:04:27 -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
|
896bc7deb0
|
Moved TrimWS to where it's used
|
2015-02-24 02:32:09 -08:00 |
|
Chris Bednarski
|
c3b108ea9e
|
Moved contents of lib back to the root
|
2015-02-24 01:00:01 -08:00 |
|