aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavor Kapsa <[email protected]>2018-12-23 19:29:23 +0100
committerEric Paris <[email protected]>2018-12-23 13:29:23 -0500
commit24fa6976df40757dce6aea913e7b81ade90530e1 (patch)
treeb224a345f550ee8fd3855ee4f707ea874ea9fa07
parent916c5bf2d89aff6fd3e10e7811337218dfa81cb5 (diff)
fix misspell (#197)
-rw-r--r--ip_slice.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/ip_slice.go b/ip_slice.go
index 7dd196f..6ad2e92 100644
--- a/ip_slice.go
+++ b/ip_slice.go
@@ -74,7 +74,7 @@ func (s *ipSliceValue) String() string {
func ipSliceConv(val string) (interface{}, error) {
val = strings.Trim(val, "[]")
- // Emtpy string would cause a slice with one (empty) entry
+ // Empty string would cause a slice with one (empty) entry
if len(val) == 0 {
return []net.IP{}, nil
}