Fixed API links
This commit is contained in:
parent
33061c0c4a
commit
8c2a644e2f
@ -11,11 +11,10 @@ import (
|
|||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/aerogo/aero"
|
"github.com/aerogo/aero"
|
||||||
|
|
||||||
"github.com/aerogo/http/client"
|
"github.com/aerogo/http/client"
|
||||||
|
"github.com/animenotifier/ffxiv"
|
||||||
"github.com/animenotifier/notify.moe/arn/autocorrect"
|
"github.com/animenotifier/notify.moe/arn/autocorrect"
|
||||||
"github.com/animenotifier/notify.moe/arn/validate"
|
"github.com/animenotifier/notify.moe/arn/validate"
|
||||||
"github.com/animenotifier/ffxiv"
|
|
||||||
"github.com/animenotifier/osu"
|
"github.com/animenotifier/osu"
|
||||||
"github.com/animenotifier/overwatch"
|
"github.com/animenotifier/overwatch"
|
||||||
gravatar "github.com/ungerik/go-gravatar"
|
gravatar "github.com/ungerik/go-gravatar"
|
||||||
|
@ -21,7 +21,7 @@ func (typ *Type) Endpoint() string {
|
|||||||
|
|
||||||
// GitHubLink returns link to display the type in GitHub.
|
// GitHubLink returns link to display the type in GitHub.
|
||||||
func (typ *Type) GitHubLink() string {
|
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.
|
// GetTypeDocumentation tries to gather documentation about the given type.
|
||||||
|
Loading…
Reference in New Issue
Block a user