Skip to content

Commit 8dac192

Browse files
committed
Fix typo
1 parent 34a6159 commit 8dac192

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

reader.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ func (r *Reader) setIPv4Start() error {
109109
}
110110

111111
// Lookup retrieves the database record for ip and stores it in the value
112-
// pointed to be result. If result is nil or not a pointer, an error is
112+
// pointed to by result. If result is nil or not a pointer, an error is
113113
// returned. If the data in the database record cannot be stored in result
114114
// because of type differences, an UnmarshalTypeError is returned. If the
115115
// database is invalid or otherwise cannot be read, an InvalidDatabaseError
@@ -126,7 +126,7 @@ func (r *Reader) Lookup(ip net.IP, result interface{}) error {
126126
}
127127

128128
// LookupNetwork retrieves the database record for ip and stores it in the
129-
// value pointed to be result. The network returned is the network associated
129+
// value pointed to by result. The network returned is the network associated
130130
// with the data record in the database. The ok return value indicates whether
131131
// the database contained a record for the ip.
132132
//

0 commit comments

Comments
 (0)