Skip to content

Commit

Permalink
Release 0.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
weppos committed Nov 20, 2016
1 parent ff9c714 commit d5b7003
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# CHANGELOG

#### master
#### 0.2.0

- CHANGED: Definition updates.

- CHANGED: List.Select() is no longer exported. This was an experimental method and it's now kept private as the Find() implementation may change in the future.

Expand Down
7 changes: 6 additions & 1 deletion publicsuffix/publicsuffix.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@ import (
)

const (
// Version identifies the current library version.
// This is a pro-forma convention given that Go dependencies
// tends to be fetched directly from the repo.
Version = "0.2.0"

NormalType = 1
WildcardType = 2
ExceptionType = 3
Expand Down Expand Up @@ -119,7 +124,7 @@ func (l *List) AddRule(r *Rule) error {
return nil
}

// experimental
// Size returns the size of the list, which is the number of rules.
func (l *List) Size() int {
return len(l.rules)
}
Expand Down

0 comments on commit d5b7003

Please sign in to comment.