Skip to content

Commit

Permalink
use iota as ProxyURLKey value
Browse files Browse the repository at this point in the history
  • Loading branch information
pyjac committed Sep 17, 2018
1 parent 78b4030 commit d98253d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion colly.go
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ var collectorCounter uint32
type key int

// ProxyURLKey is the context key for the request proxy address.
const ProxyURLKey key = 0
const ProxyURLKey key = iota

var (
// ErrForbiddenDomain is the error thrown if visiting
Expand Down

0 comments on commit d98253d

Please sign in to comment.