Fixed API links

This commit is contained in:
2019-06-03 18:48:48 +09:00
parent 33061c0c4a
commit 8c2a644e2f
2 changed files with 2 additions and 3 deletions

View File

@ -21,7 +21,7 @@ func (typ *Type) Endpoint() string {
// GitHubLink returns link to display the type in GitHub.
func (typ *Type) GitHubLink() string {
return fmt.Sprintf("https://github.com/animenotifier/notify.moe/tree/go/arn/blob/go/%s.go#L%d", typ.Name, typ.LineNumber)
return fmt.Sprintf("https://github.com/animenotifier/notify.moe/blob/go/arn/%s.go#L%d", typ.Name, typ.LineNumber)
}
// GetTypeDocumentation tries to gather documentation about the given type.