WithURLs configures custom URLs for source and documentation.
(sourceURL, docsURL string)
| 141 | |
| 142 | // WithURLs configures custom URLs for source and documentation. |
| 143 | func WithURLs(sourceURL, docsURL string) CheckOption { |
| 144 | return checkOptionFunc(func(o *checkOptions) { |
| 145 | o.sourceURL, o.docsURL = sourceURL, docsURL |
| 146 | }) |
| 147 | } |
| 148 | |
| 149 | // WithReference configures a custom reference version. |
| 150 | func WithReference(current semver.Version) CheckOption { |