From 1adf4d27ce9e9d0791415f4d3ff76f156a391379 Mon Sep 17 00:00:00 2001 From: Andreas Karlsson Date: Fri, 13 Dec 2024 09:17:50 +0100 Subject: [PATCH] feat(golang): add gosrt formatter gosrt sorts top-level symbols such as functions and types in the same order as godoc. --- packages/gosrt/package.yaml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 packages/gosrt/package.yaml diff --git a/packages/gosrt/package.yaml b/packages/gosrt/package.yaml new file mode 100644 index 000000000..6a974fa23 --- /dev/null +++ b/packages/gosrt/package.yaml @@ -0,0 +1,16 @@ +--- +name: gosrt +description: A Go formatter that sorts top-level symbols like godoc. +homepage: https://gitlab.com/biffen/gosrt +licenses: + - MIT +languages: + - Go +categories: + - Formatter + +source: + id: pkg:golang/gitlab.com/biffen/gosrt@v0.4.2 + +bin: + gosrt: golang:gosrt