aboutsummaryrefslogtreecommitdiff
path: root/internal/markup/orgmode.go
diff options
context:
space:
mode:
authorJoe Chen <jc@unknwon.io>2023-02-02 21:25:25 +0800
committerGitHub <noreply@github.com>2023-02-02 21:25:25 +0800
commitc53a1998c589a544b25d53f6e6fdf0f24a4df25b (patch)
tree1c3c9d693ba551eecfbc535be942e40b5acf9cf7 /internal/markup/orgmode.go
parent614382fec0ba05149785539ab93560d4d42c194d (diff)
all: replace `interface{}` with `any` (#7330)
Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>
Diffstat (limited to 'internal/markup/orgmode.go')
-rw-r--r--internal/markup/orgmode.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/markup/orgmode.go b/internal/markup/orgmode.go
index 467e455e..934d0cf8 100644
--- a/internal/markup/orgmode.go
+++ b/internal/markup/orgmode.go
@@ -35,6 +35,6 @@ func RawOrgMode(body []byte, urlPrefix string) (result []byte) {
}
// OrgMode takes a string or []byte and renders to HTML in Org-mode syntax with special links.
-func OrgMode(input interface{}, urlPrefix string, metas map[string]string) []byte {
+func OrgMode(input any, urlPrefix string, metas map[string]string) []byte {
return Render(TypeOrgMode, input, urlPrefix, metas)
}