From 8c2a644e2fa273b32ac6809fab53a086e39301a2 Mon Sep 17 00:00:00 2001 From: Eduard Urbach Date: Mon, 3 Jun 2019 18:48:48 +0900 Subject: [PATCH] Fixed API links --- arn/User.go | 3 +-- arn/autodocs/Type.go | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/arn/User.go b/arn/User.go index 5bcf282a..87ddcaae 100644 --- a/arn/User.go +++ b/arn/User.go @@ -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" diff --git a/arn/autodocs/Type.go b/arn/autodocs/Type.go index 93864ee4..5872ebe7 100644 --- a/arn/autodocs/Type.go +++ b/arn/autodocs/Type.go @@ -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.