File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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//
You can’t perform that action at this time.
0 commit comments