Skip to content

Commit

Permalink
Add test pkg14: custom godoc_url
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandregv committed Mar 24, 2024
1 parent dfd4410 commit e95f461
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 0 deletions.
5 changes: 5 additions & 0 deletions testdata/pkg14_godoc_url/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# pkg14

[![GoDoc](https://pkg.go.dev/badge/pkgsite/pkg.svg)](https://pkg.company.tld/./testdata/pkg14_godoc_url)

Package pkg14 tests custom godoc_url.
1 change: 1 addition & 0 deletions testdata/pkg14_godoc_url/go.mod
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module pkg14
6 changes: 6 additions & 0 deletions testdata/pkg14_godoc_url/goreadme.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"badges": {
"go_doc": true
},
"godoc_url": "https://pkg.company.tld"
}
2 changes: 2 additions & 0 deletions testdata/pkg14_godoc_url/pkg1.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
// Package pkg14 tests custom godoc_url.
package pkg14

0 comments on commit e95f461

Please sign in to comment.