Fixed API links

This commit is contained in:
Eduard Urbach 2019-06-03 18:48:48 +09:00
parent 33061c0c4a
commit 8c2a644e2f
Signed by: akyoto
GPG Key ID: C874F672B1AF20C0
2 changed files with 2 additions and 3 deletions

View File

@ -11,11 +11,10 @@ import (
"time"
"github.com/aerogo/aero"
"github.com/aerogo/http/client"
"github.com/animenotifier/ffxiv"
"github.com/animenotifier/notify.moe/arn/autocorrect"
"github.com/animenotifier/notify.moe/arn/validate"
"github.com/animenotifier/ffxiv"
"github.com/animenotifier/osu"
"github.com/animenotifier/overwatch"
gravatar "github.com/ungerik/go-gravatar"

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.