Fixed Git links
This commit is contained in:
@ -19,9 +19,9 @@ func (typ *Type) Endpoint() string {
|
||||
return "/api/" + strings.ToLower(typ.Name)
|
||||
}
|
||||
|
||||
// GitHubLink returns link to display the type in GitHub.
|
||||
func (typ *Type) GitHubLink() string {
|
||||
return fmt.Sprintf("https://git.akyoto.dev/web/notify.moe/blob/go/arn/%s.go#L%d", typ.Name, typ.LineNumber)
|
||||
// GitLink returns link to display the type in Git.
|
||||
func (typ *Type) GitLink() string {
|
||||
return fmt.Sprintf("https://git.akyoto.dev/web/notify.moe/src/branch/main/arn/%s.go#L%d", typ.Name, typ.LineNumber)
|
||||
}
|
||||
|
||||
// GetTypeDocumentation tries to gather documentation about the given type.
|
||||
|
Reference in New Issue
Block a user