lib/licensed/sources/dep.rb in licensed-3.2.0 vs lib/licensed/sources/dep.rb in licensed-3.2.1

- old
+ new

@@ -38,13 +38,13 @@ .reject { |import_path| go_std_package?(import_path) } .map { |import_path| { name: import_path, version: project[:revision], project: project[:name] } } end end - # Returns the godoc.org page for a package. + # Returns the pkg.go.dev page for a package. def homepage(import_path) return unless import_path - "https://godoc.org/#{import_path}" + "https://pkg.go.dev/#{import_path}" end # Returns whether the package is part of the go std list. Replaces # "golang.org" with "golang_org" to match packages listed in `go list std` # as "vendor/golang_org/*" but are vendored as "vendor/golang.org/*"